Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002632/0.002632, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3378/0.3378, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.905e-05, allocations: 6.25 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.0091/0.009129, allocations: 5.618 MB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.01387, allocations: 1.877 MB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.01463, allocations: 27.94 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.01632, allocations: 0.6423 MB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.01693, allocations: 210.6 kB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.01719, allocations: 63.8 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.0178, allocations: 429.9 kB / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.01846, allocations: 435 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.01897, allocations: 307.2 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.01943, allocations: 263.2 kB / 385.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.01951, allocations: 44 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.01973, allocations: 83.89 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.02006, allocations: 275.2 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.0203, allocations: 179.4 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.02159, allocations: 0.8096 MB / 386.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.02159, allocations: 0 / 386.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.0216, allocations: 0 / 386.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.02161, allocations: 4 kB / 386.5 MB, free: 9.758 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001688/0.02329, allocations: 0.8779 MB / 387.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.02334, allocations: 12.02 kB / 387.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.02422, allocations: 204.3 kB / 387.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.02491, allocations: 399.3 kB / 387.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.02495, allocations: 33.36 kB / 388 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.02502, allocations: 40.36 kB / 388 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.02663, allocations: 1.082 MB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.02665, allocations: 11.88 kB / 389.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.02671, allocations: 19.98 kB / 389.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003673/0.02708, allocations: 192.4 kB / 389.3 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.02837, allocations: 0.7126 MB / 390 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.03312, allocations: 4.315 MB / 394.3 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.03328, allocations: 54.53 kB / 394.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.0334, allocations: 44.91 kB / 394.4 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.03342, allocations: 3.938 kB / 394.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.03346, allocations: 34.56 kB / 394.5 MB, free: 1.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.03346, allocations: 0 / 394.5 MB, free: 1.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005725/0.03403, allocations: 217.2 kB / 394.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.03408, allocations: 51.41 kB / 394.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.0351, allocations: 0.7691 MB / 395.5 MB, free: 320 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.03512, allocations: 25.7 kB / 395.5 MB, free: 288 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.03559, allocations: 0.5263 MB / 396.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.03563, allocations: 23.88 kB / 396.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.03586, allocations: 174.5 kB / 396.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.03609, allocations: 366.7 kB / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.03644, allocations: 185.9 kB / 396.8 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.03734, allocations: 0.735 MB / 397.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.03876, allocations: 0.9781 MB / 398.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.03877, allocations: 8 kB / 398.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001581/0.04035, allocations: 0.9031 MB / 399.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.04038, allocations: 20.94 kB / 399.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.04041, allocations: 20 kB / 399.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/0.04045, allocations: 28 kB / 399.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.04103, allocations: 179.6 kB / 399.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.437e-05/0.04107, allocations: 39.86 kB / 399.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.04162, allocations: 111.2 kB / 399.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.04169, allocations: 51.94 kB / 399.9 MB, free: 11.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000459/0.04215, allocations: 359.8 kB / 400.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.04224, allocations: 59.61 kB / 400.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.04234, allocations: 60.8 kB / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.04234, allocations: 0 / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.04235, allocations: 4 kB / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.04235, allocations: 0 / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.04284, allocations: 341 kB / 400.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.04284, allocations: 0 / 400.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.04292, allocations: 11.98 kB / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.04293, allocations: 0 / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.04294, allocations: 4 kB / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.04294, allocations: 0 / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.04294, allocations: 0 / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.04336, allocations: 271 kB / 400.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.04346, allocations: 51.61 kB / 401 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.04351, allocations: 3.938 kB / 401 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.0437, allocations: 15.98 kB / 401 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.04376, allocations: 11.98 kB / 401 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.04376, allocations: 0 / 401 MB, free: 10.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006533/0.04442, allocations: 483 kB / 401.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04442, allocations: 0 / 401.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000674/0.04509, allocations: 151.6 kB / 401.6 MB, free: 9.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.04525, allocations: 95.23 kB / 401.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.04599, allocations: 408.7 kB / 402.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.04599, allocations: 0 / 402.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.04612, allocations: 47.95 kB / 402.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.04664, allocations: 89.75 kB / 402.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.04844, allocations: 1.078 MB / 403.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.04893, allocations: 385.4 kB / 403.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.0494, allocations: 200.5 kB / 403.9 MB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.04949, allocations: 36.5 kB / 404 MB, free: 7.141 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.04949, allocations: 0 / 404 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Templates: time 0.01033/0.05982, allocations: 4.019 MB / 408 MB, free: 3.207 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.810001941979863]