Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001267/0.001267, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001355/0.001355, allocations: 161 kB / 24.56 MB, free: 16 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 0.9624/0.9624, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.271/0.271, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.891e-05, allocations: 5.266 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005524/0.005543, allocations: 6.101 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.008185, allocations: 1.951 MB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.008494, allocations: 23.94 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.009494, allocations: 0.6618 MB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.009794, allocations: 206.7 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.009999, allocations: 67.72 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.01037, allocations: 429.9 kB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.0108, allocations: 431.1 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.01111, allocations: 319.1 kB / 388.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.01142, allocations: 259.3 kB / 388.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.01147, allocations: 36 kB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.01161, allocations: 91.88 kB / 388.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.01206, allocations: 275.2 kB / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.01219, allocations: 183.4 kB / 389 MB, free: 7.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.01267, allocations: 0.5408 MB / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01267, allocations: 0 / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01267, allocations: 0 / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01268, allocations: 0 / 389.5 MB, free: 7.09 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.0009574/0.01364, allocations: 1.009 MB / 390.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.01368, allocations: 12.03 kB / 390.6 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.0143, allocations: 192.3 kB / 390.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.01477, allocations: 382.1 kB / 391.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.01479, allocations: 29.36 kB / 391.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.01486, allocations: 44.36 kB / 391.2 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/0.01567, allocations: 0.7578 MB / 392 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.01569, allocations: 11.88 kB / 392 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.01573, allocations: 19.98 kB / 392 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/0.016, allocations: 196.4 kB / 392.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.01649, allocations: 271.3 kB / 392.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.0199, allocations: 5.823 MB / 398.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.01996, allocations: 27 kB / 398.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.01999, allocations: 11.69 kB / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.02001, allocations: 0 / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.02003, allocations: 37.38 kB / 398.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.02003, allocations: 4 kB / 398.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000242/0.02027, allocations: 105.3 kB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.02031, allocations: 51.41 kB / 398.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.021, allocations: 0.7528 MB / 399.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.02102, allocations: 25.7 kB / 399.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.02134, allocations: 0.5874 MB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.02136, allocations: 27.94 kB / 399.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.02154, allocations: 188.1 kB / 400.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.02173, allocations: 0.5625 MB / 400.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.02184, allocations: 57.95 kB / 400.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.02235, allocations: 0.8799 MB / 401.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.02334, allocations: 1.033 MB / 402.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.02335, allocations: 4 kB / 402.6 MB, free: 8.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008557/0.02421, allocations: 0.6808 MB / 403.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.02423, allocations: 12 kB / 403.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.02425, allocations: 27.98 kB / 403.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.02429, allocations: 28 kB / 403.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.02465, allocations: 176.4 kB / 403.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/0.02468, allocations: 39.86 kB / 403.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.02506, allocations: 111.2 kB / 403.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.02511, allocations: 59.86 kB / 403.7 MB, free: 7.574 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.0001681/0.02528, allocations: 234.8 kB / 404 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.02534, allocations: 55.62 kB / 404 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.02541, allocations: 56.78 kB / 404.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.02541, allocations: 0 / 404.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.02542, allocations: 0 / 404.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.02542, allocations: 4 kB / 404.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.02584, allocations: 408.4 kB / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02584, allocations: 0 / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.02589, allocations: 11.98 kB / 404.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.02589, allocations: 0 / 404.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.0259, allocations: 0 / 404.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0259, allocations: 3.984 kB / 404.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02591, allocations: 0 / 404.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.02609, allocations: 251.4 kB / 404.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.02614, allocations: 43.62 kB / 404.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.02618, allocations: 4 kB / 404.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.0263, allocations: 11.98 kB / 404.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.02635, allocations: 8.219 kB / 404.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.02636, allocations: 3.984 kB / 404.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.02672, allocations: 403 kB / 405.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02672, allocations: 0 / 405.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.02731, allocations: 151.6 kB / 405.4 MB, free: 5.891 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.0001092/0.02742, allocations: 95.23 kB / 405.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.02781, allocations: 301.5 kB / 405.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02782, allocations: 0 / 405.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.02785, allocations: 17.5 kB / 405.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.02826, allocations: 78.33 kB / 405.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.02962, allocations: 0.9464 MB / 406.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.02977, allocations: 189 kB / 407 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.03009, allocations: 172.5 kB / 407.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.03016, allocations: 44.48 kB / 407.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03016, allocations: 0 / 407.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of Templates: time 0.008002/0.03816, allocations: 3.995 MB / 411.2 MB, free: 104 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2398451510816813]