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.001003/0.001003, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009971/0.0009971, allocations: 161.3 kB / 24.99 MB, free: 9.273 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 0.939/0.939, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2733/0.2733, allocations: 34.26 MB / 296 MB, free: 0.7578 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 2.264e-06/2.264e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.665e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005084/0.005101, allocations: 6.081 MB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.008454, allocations: 1.947 MB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.00885, allocations: 27.94 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.009814, allocations: 0.6502 MB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.01014, allocations: 210.6 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.01031, allocations: 59.73 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.01067, allocations: 433.9 kB / 387.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.01112, allocations: 435.1 kB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.01146, allocations: 319.1 kB / 388.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.0118, allocations: 263.2 kB / 388.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.01184, allocations: 36 kB / 388.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.012, allocations: 87.88 kB / 388.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.01219, allocations: 279.2 kB / 388.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.01234, allocations: 175.4 kB / 389 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.01287, allocations: 0.5447 MB / 389.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01287, allocations: 7.938 kB / 389.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01287, allocations: 0 / 389.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.01288, allocations: 0 / 389.5 MB, free: 7.418 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.001003/0.01388, allocations: 1.005 MB / 390.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.01393, allocations: 12.02 kB / 390.5 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.01442, allocations: 192.3 kB / 390.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.01481, allocations: 386.1 kB / 391.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.01483, allocations: 29.36 kB / 391.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.01488, allocations: 44.36 kB / 391.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.01555, allocations: 0.75 MB / 391.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.01557, allocations: 11.88 kB / 391.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.0156, allocations: 15.98 kB / 391.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.01581, allocations: 200.4 kB / 392.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.01637, allocations: 275.3 kB / 392.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.01968, allocations: 5.819 MB / 398.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.973e-05/0.01974, allocations: 23.06 kB / 398.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.01977, allocations: 15.62 kB / 398.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.01978, allocations: 0 / 398.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.01981, allocations: 41.39 kB / 398.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.01981, allocations: 4 kB / 398.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000225/0.02004, allocations: 97.39 kB / 398.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.02007, allocations: 51.41 kB / 398.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.02075, allocations: 0.7567 MB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.02077, allocations: 25.7 kB / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.02129, allocations: 0.5835 MB / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.02131, allocations: 23.94 kB / 399.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.02148, allocations: 188.1 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.02167, allocations: 0.5663 MB / 400.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.02178, allocations: 57.95 kB / 400.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.02235, allocations: 0.8877 MB / 401.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.02312, allocations: 1.033 MB / 402.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.02313, allocations: 8 kB / 402.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000871/0.024, allocations: 0.6775 MB / 403.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.02403, allocations: 16 kB / 403.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.02404, allocations: 20 kB / 403.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.02407, allocations: 24 kB / 403.3 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.02445, allocations: 175.9 kB / 403.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.02448, allocations: 39.84 kB / 403.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.02488, allocations: 111.2 kB / 403.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.02493, allocations: 55.92 kB / 403.7 MB, free: 7.918 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.0001786/0.0251, allocations: 246.8 kB / 403.9 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.02516, allocations: 55.62 kB / 404 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.02523, allocations: 56.78 kB / 404 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.02524, allocations: 0 / 404 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.02524, allocations: 0 / 404 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02524, allocations: 0 / 404 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.02566, allocations: 408.4 kB / 404.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02566, allocations: 0 / 404.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.02571, allocations: 11.98 kB / 404.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.02571, allocations: 4 kB / 404.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.02572, allocations: 0 / 404.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02572, allocations: 3.984 kB / 404.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02572, allocations: 0 / 404.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.02589, allocations: 251.4 kB / 404.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.02595, allocations: 47.62 kB / 404.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.02599, allocations: 0 / 404.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02611, allocations: 7.984 kB / 404.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.02616, allocations: 7.984 kB / 404.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.02616, allocations: 3.984 kB / 404.8 MB, free: 6.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003556/0.02652, allocations: 403 kB / 405.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02652, allocations: 4 kB / 405.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005764/0.0271, allocations: 151.6 kB / 405.3 MB, free: 6.223 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.0001058/0.0272, allocations: 95.23 kB / 405.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.02758, allocations: 299.3 kB / 405.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.02758, allocations: 0 / 405.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.02761, allocations: 15.62 kB / 405.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.02804, allocations: 78.14 kB / 405.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.02964, allocations: 0.9504 MB / 406.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.02979, allocations: 189 kB / 406.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.0301, allocations: 176.5 kB / 407.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.03017, allocations: 40.48 kB / 407.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03017, allocations: 0 / 407.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of Templates: time 0.007351/0.03752, allocations: 3.985 MB / 411.1 MB, free: 448 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.0544343169312924]