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.001934/0.001934, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001946/0.001946, allocations: 165.3 kB / 24.27 MB, free: 156 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3554/0.3554, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.347e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009779/0.009812, allocations: 6.051 MB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.01477, allocations: 1.939 MB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.01558, allocations: 27.88 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.01737, allocations: 0.6541 MB / 385.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006824/0.01805, allocations: 214.6 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.01834, allocations: 55.8 kB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.01905, allocations: 437.9 kB / 386.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.01978, allocations: 423.1 kB / 387 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.0204, allocations: 327.1 kB / 387.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.02094, allocations: 259.3 kB / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.02105, allocations: 36 kB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.02131, allocations: 87.89 kB / 387.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.02167, allocations: 283.2 kB / 388 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.02196, allocations: 183.4 kB / 388.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.0231, allocations: 0.8018 MB / 389 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.0231, allocations: 0 / 389 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.0231, allocations: 0 / 389 MB, free: 7.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.02313, allocations: 4 kB / 389 MB, free: 7.203 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.001942/0.02507, allocations: 1.052 MB / 390 MB, free: 6.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.02511, allocations: 12.03 kB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/0.02601, allocations: 192.3 kB / 390.2 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.0268, allocations: 386.2 kB / 390.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.02684, allocations: 29.36 kB / 390.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.02691, allocations: 48.34 kB / 390.7 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.02837, allocations: 0.8 MB / 391.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.02839, allocations: 7.875 kB / 391.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.02845, allocations: 23.98 kB / 391.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003942/0.02884, allocations: 192.4 kB / 391.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.02971, allocations: 326 kB / 392 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005921/0.03563, allocations: 6.054 MB / 398.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.03593, allocations: 59.02 kB / 398.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.03603, allocations: 43.75 kB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.03605, allocations: 0 / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.03609, allocations: 33.39 kB / 398.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.03609, allocations: 3.938 kB / 398.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005289/0.03662, allocations: 181.2 kB / 398.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.03667, allocations: 51.41 kB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.03799, allocations: 0.8973 MB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.03802, allocations: 25.7 kB / 399.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/0.03862, allocations: 0.6069 MB / 400 MB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.03866, allocations: 35.86 kB / 400 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.03896, allocations: 212.1 kB / 400.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/0.03934, allocations: 0.5937 MB / 400.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.03957, allocations: 85.92 kB / 400.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.04058, allocations: 0.9306 MB / 401.8 MB, free: 9.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.04195, allocations: 1.096 MB / 402.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.04197, allocations: 8 kB / 402.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001348/0.04332, allocations: 0.7322 MB / 403.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.04336, allocations: 16 kB / 403.7 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.04339, allocations: 20 kB / 403.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.04343, allocations: 28.06 kB / 403.7 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.04393, allocations: 175.6 kB / 403.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.384e-05/0.04397, allocations: 39.84 kB / 403.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.04451, allocations: 107.2 kB / 404 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.04459, allocations: 63.86 kB / 404.1 MB, free: 6.773 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.0003162/0.0449, allocations: 254.8 kB / 404.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.045, allocations: 55.62 kB / 404.4 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.0451, allocations: 56.78 kB / 404.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0451, allocations: 192 / 404.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.04511, allocations: 3.938 kB / 404.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.04511, allocations: 3.984 kB / 404.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.04603, allocations: 0.5042 MB / 405 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.04603, allocations: 0 / 405 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.04611, allocations: 4 kB / 405 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.04611, allocations: 4 kB / 405 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.04613, allocations: 3.984 kB / 405 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.04613, allocations: 0 / 405 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.04613, allocations: 0 / 405 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.04658, allocations: 299.4 kB / 405.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.04671, allocations: 51.61 kB / 405.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.04677, allocations: 0 / 405.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.04694, allocations: 4 kB / 405.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.04702, allocations: 15.97 kB / 405.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.04703, allocations: 4 kB / 405.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006589/0.04769, allocations: 466.9 kB / 405.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04769, allocations: 0 / 405.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007148/0.0484, allocations: 147.6 kB / 406 MB, free: 4.852 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.0001599/0.04856, allocations: 99.25 kB / 406.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.04929, allocations: 370.9 kB / 406.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.04929, allocations: 384 / 406.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.0494, allocations: 51.64 kB / 406.5 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.04993, allocations: 74.95 kB / 406.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.05189, allocations: 0.9618 MB / 407.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.0524, allocations: 369.5 kB / 407.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.05282, allocations: 176.5 kB / 408 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.05291, allocations: 36.5 kB / 408.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.05291, allocations: 0 / 408.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.06353, allocations: 3.982 MB / 412.1 MB, free: 14.77 MB / 394.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.994919902062975]