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.001065/0.001065, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001345/0.001345, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.3174/0.3174, allocations: 32.81 MB / 294.6 MB, free: 1.227 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 2.415e-06/2.415e-06, allocations: 0 / 376.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.604e-05, allocations: 6.25 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005722/0.005748, allocations: 5.976 MB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.008849, allocations: 1.931 MB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.00925, allocations: 31.88 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.01032, allocations: 0.6424 MB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.01066, allocations: 214.6 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.01087, allocations: 59.73 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.01127, allocations: 433.9 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.01172, allocations: 423.1 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.01207, allocations: 323.1 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.0124, allocations: 259.3 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.01245, allocations: 43.94 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.0126, allocations: 79.89 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.0128, allocations: 275.2 kB / 387.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.01296, allocations: 183.4 kB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.01351, allocations: 0.5368 MB / 387.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01352, allocations: 0 / 387.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.01352, allocations: 4 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.01353, allocations: 3.938 kB / 387.8 MB, free: 9.004 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.00106/0.01459, allocations: 1.009 MB / 388.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.01464, allocations: 15.95 kB / 388.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.01519, allocations: 176.3 kB / 389 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.01569, allocations: 350.2 kB / 389.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.01572, allocations: 33.3 kB / 389.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.01577, allocations: 48.36 kB / 389.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.01651, allocations: 0.7186 MB / 390.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01653, allocations: 11.88 kB / 390.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.01656, allocations: 23.98 kB / 390.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.01679, allocations: 172.5 kB / 390.4 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.01714, allocations: 231.9 kB / 390.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.02136, allocations: 5.687 MB / 396.3 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.02142, allocations: 23.06 kB / 396.3 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.02144, allocations: 15.69 kB / 396.3 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.02146, allocations: 0 / 396.3 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.02149, allocations: 37.39 kB / 396.4 MB, free: 12 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.02149, allocations: 0 / 396.4 MB, free: 12 kB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002422/0.02173, allocations: 105.3 kB / 396.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.02177, allocations: 55.41 kB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.0224, allocations: 0.7446 MB / 397.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.02242, allocations: 29.7 kB / 397.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.02279, allocations: 0.5912 MB / 397.9 MB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.02281, allocations: 23.94 kB / 397.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.02299, allocations: 196 kB / 398.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.0232, allocations: 0.5585 MB / 398.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.02328, allocations: 53.94 kB / 398.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.02382, allocations: 0.8681 MB / 399.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.02461, allocations: 1.041 MB / 400.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.02462, allocations: 8 kB / 400.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008616/0.02548, allocations: 0.6345 MB / 401.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.0255, allocations: 12.22 kB / 401.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.02552, allocations: 24 kB / 401.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.02556, allocations: 28 kB / 401.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.02592, allocations: 179.6 kB / 401.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-05/0.02595, allocations: 39.86 kB / 401.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.02634, allocations: 111.2 kB / 401.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.02644, allocations: 40 kB / 401.7 MB, free: 9.836 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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],arrow.headAtOrigin,arrow.arrow.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0002184/0.02666, allocations: 238.7 kB / 401.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.02672, allocations: 59.62 kB / 402 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.0268, allocations: 52.98 kB / 402 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0268, allocations: 0 / 402 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.02681, allocations: 3.984 kB / 402 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.02681, allocations: 0 / 402 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.02716, allocations: 284.9 kB / 402.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.02717, allocations: 0 / 402.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.02721, allocations: 7.938 kB / 402.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.02721, allocations: 4 kB / 402.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.02722, allocations: 3.984 kB / 402.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.02722, allocations: 0 / 402.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02722, allocations: 4 kB / 402.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.02751, allocations: 243.5 kB / 402.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.02757, allocations: 47.62 kB / 402.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.02761, allocations: 7.984 kB / 402.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.02772, allocations: 0 / 402.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.02776, allocations: 7.984 kB / 402.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.02776, allocations: 0 / 402.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003032/0.02807, allocations: 378.9 kB / 403 MB, free: 8.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02807, allocations: 0 / 403 MB, free: 8.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005745/0.02864, allocations: 151.6 kB / 403.1 MB, free: 8.312 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.0001198/0.02876, allocations: 107.2 kB / 403.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.02911, allocations: 279.2 kB / 403.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02911, allocations: 0 / 403.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.02914, allocations: 19.98 kB / 403.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.02957, allocations: 82.41 kB / 403.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.03109, allocations: 0.9425 MB / 404.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.03125, allocations: 193 kB / 404.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.03144, allocations: 64.84 kB / 404.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.0316, allocations: 150.2 kB / 405 MB, free: 6.434 MB / 378.7 MB Notification: Performance of SimCode: time 1.133e-06/0.0316, allocations: 0 / 405 MB, free: 6.434 MB / 378.7 MB Notification: Performance of Templates: time 0.009384/0.04099, allocations: 4.286 MB / 409.2 MB, free: 2.215 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4719928298145533]