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.00117/0.00117, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.00109/0.00109, allocations: 161 kB / 24.55 MB, free: 20 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.9894/0.9894, allocations: 177.1 MB / 205 MB, free: 5.613 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.2624/0.2624, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.062e-06/1.062e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.6e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005559/0.005575, allocations: 6.113 MB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.008434, allocations: 1.939 MB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.008829, allocations: 27.94 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.009802, allocations: 0.6657 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.01015, allocations: 210.7 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.01035, allocations: 47.81 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.01072, allocations: 441.8 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.01117, allocations: 431 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.01151, allocations: 315.1 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.01185, allocations: 263.2 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.0119, allocations: 36 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.01204, allocations: 83.95 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.01222, allocations: 287.2 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.01235, allocations: 179.4 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.01282, allocations: 0.5486 MB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01282, allocations: 0 / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01282, allocations: 0 / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.01283, allocations: 0 / 387.5 MB, free: 9.113 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.001151/0.01398, allocations: 1.001 MB / 388.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.01401, allocations: 12.03 kB / 388.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.01447, allocations: 196.3 kB / 388.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.01486, allocations: 382.1 kB / 389.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.01488, allocations: 29.36 kB / 389.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.01492, allocations: 44.36 kB / 389.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.01555, allocations: 0.75 MB / 389.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.01556, allocations: 7.938 kB / 389.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.01559, allocations: 23.98 kB / 390 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.01579, allocations: 196.4 kB / 390.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.01617, allocations: 278.3 kB / 390.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.01883, allocations: 5.816 MB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.01889, allocations: 38.98 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.01891, allocations: 11.77 kB / 396.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.01893, allocations: 4 kB / 396.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.01894, allocations: 33.39 kB / 396.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.01895, allocations: 0 / 396.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001812/0.01913, allocations: 97.31 kB / 396.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.01915, allocations: 55.34 kB / 396.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.01967, allocations: 0.7567 MB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01969, allocations: 29.7 kB / 397.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.01994, allocations: 0.5873 MB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.01996, allocations: 23.94 kB / 397.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02008, allocations: 188.1 kB / 398.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.02024, allocations: 0.5586 MB / 398.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.02032, allocations: 61.89 kB / 398.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.02073, allocations: 0.8799 MB / 399.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.02132, allocations: 1.033 MB / 400.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.02133, allocations: 8 kB / 400.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006257/0.02196, allocations: 0.6771 MB / 401.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.02197, allocations: 16 kB / 401.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.02199, allocations: 20 kB / 401.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.02201, allocations: 28 kB / 401.3 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.02253, allocations: 171.7 kB / 401.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.02255, allocations: 40.45 kB / 401.5 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.0228, allocations: 115.2 kB / 401.7 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.02283, allocations: 51.94 kB / 401.7 MB, free: 9.617 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.0001365/0.02297, allocations: 242.7 kB / 401.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.02301, allocations: 55.62 kB / 402 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.02306, allocations: 48.8 kB / 402 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.02307, allocations: 0 / 402 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02307, allocations: 0 / 402 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.02307, allocations: 0 / 402 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.02338, allocations: 416.4 kB / 402.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02339, allocations: 4 kB / 402.5 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.02342, allocations: 11.98 kB / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.02342, allocations: 0 / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.02343, allocations: 0 / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.02343, allocations: 0 / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02343, allocations: 4 kB / 402.5 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.02356, allocations: 247.6 kB / 402.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.02362, allocations: 51.64 kB / 402.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.02364, allocations: 0 / 402.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.02372, allocations: 8 kB / 402.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.02377, allocations: 19.97 kB / 402.8 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.02377, allocations: 3.938 kB / 402.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.02404, allocations: 403 kB / 403.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02404, allocations: 0 / 403.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.02441, allocations: 147.6 kB / 403.3 MB, free: 7.922 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 9.109e-05/0.0245, allocations: 95.25 kB / 403.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.0248, allocations: 290.1 kB / 403.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.0248, allocations: 3.938 kB / 403.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.02483, allocations: 23.67 kB / 403.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.02514, allocations: 82.7 kB / 403.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.02626, allocations: 0.9425 MB / 404.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.02639, allocations: 189 kB / 404.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.02664, allocations: 176.5 kB / 405.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.02671, allocations: 36.5 kB / 405.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02671, allocations: 0 / 405.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of Templates: time 0.00687/0.03358, allocations: 3.999 MB / 409.1 MB, free: 2.133 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.1050242921337485]