Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 214.3 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.2 MB / 256.7 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 46.9 MB / 359.9 MB, free: 4.988 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 75.88 kB / 0.495 GB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 65.99 MB / 0.5594 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007861/0.3521, allocations: 6.277 MB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.3558, allocations: 1.994 MB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.3563, allocations: 23.94 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3578, allocations: 0.6229 MB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.3583, allocations: 202.9 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.3585, allocations: 55.88 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.359, allocations: 414.1 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.3596, allocations: 434.8 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.3599, allocations: 227.1 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.3603, allocations: 294.8 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.3604, allocations: 40 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.3606, allocations: 91.88 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.3609, allocations: 267.2 kB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3612, allocations: 314 kB / 0.5704 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009053/0.3621, allocations: 0.8202 MB / 0.5712 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3621, allocations: 4 kB / 0.5712 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3621, allocations: 0 / 0.5712 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3621, allocations: 4 kB / 0.5712 GB, free: 9.059 MB / 414.1 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.001493/0.3636, allocations: 0.9649 MB / 0.5721 GB, free: 8.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3637, allocations: 8.031 kB / 0.5721 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/0.3644, allocations: 160.2 kB / 0.5723 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.3651, allocations: 450 kB / 0.5727 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3651, allocations: 29.36 kB / 0.5727 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.3652, allocations: 44.11 kB / 0.5728 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.3666, allocations: 1.085 MB / 0.5738 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3667, allocations: 7.938 kB / 0.5739 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.3667, allocations: 15.98 kB / 0.5739 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003407/0.367, allocations: 200.3 kB / 0.5741 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3682, allocations: 0.7122 MB / 0.5748 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.3727, allocations: 4.647 MB / 0.5793 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3729, allocations: 66.45 kB / 0.5794 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.373, allocations: 52.84 kB / 0.5794 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.373, allocations: 3.984 kB / 0.5794 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3731, allocations: 30.56 kB / 0.5794 GB, free: 204 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3731, allocations: 0 / 0.5794 GB, free: 204 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.3736, allocations: 221.1 kB / 0.5797 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.3737, allocations: 59.34 kB / 0.5797 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/0.3747, allocations: 0.8166 MB / 0.5805 GB, free: 15.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3747, allocations: 25.7 kB / 0.5805 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.3751, allocations: 0.514 MB / 0.581 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.3751, allocations: 35.81 kB / 0.5811 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3753, allocations: 166.5 kB / 0.5812 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3756, allocations: 374.8 kB / 0.5816 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.3759, allocations: 181.9 kB / 0.5818 GB, free: 13.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.3766, allocations: 0.7351 MB / 0.5825 GB, free: 12.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3778, allocations: 0.9781 MB / 0.5834 GB, free: 11.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3778, allocations: 8 kB / 0.5834 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00135/0.3792, allocations: 0.8646 MB / 0.5843 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3792, allocations: 19.94 kB / 0.5843 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3792, allocations: 20 kB / 0.5843 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.83e-05/0.3793, allocations: 27.94 kB / 0.5843 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.3798, allocations: 175.7 kB / 0.5845 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.834e-05/0.3798, allocations: 48.31 kB / 0.5846 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.3803, allocations: 119.2 kB / 0.5847 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.3804, allocations: 48 kB / 0.5847 GB, free: 10.16 MB / 430.1 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.0004074/0.3808, allocations: 363.6 kB / 0.5851 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.3809, allocations: 63.58 kB / 0.5851 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.381, allocations: 61.28 kB / 0.5852 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.381, allocations: 3.938 kB / 0.5852 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.381, allocations: 4 kB / 0.5852 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.381, allocations: 4 kB / 0.5852 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.3816, allocations: 0.5012 MB / 0.5857 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3816, allocations: 4 kB / 0.5857 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.3816, allocations: 11.98 kB / 0.5857 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3816, allocations: 0 / 0.5857 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3817, allocations: 0 / 0.5857 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.3817, allocations: 3.938 kB / 0.5857 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3817, allocations: 3.938 kB / 0.5857 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.382, allocations: 267 kB / 0.586 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3822, allocations: 140.6 kB / 0.5861 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.3822, allocations: 4 kB / 0.5861 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3824, allocations: 11.92 kB / 0.5861 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.3825, allocations: 11.98 kB / 0.5861 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3825, allocations: 0 / 0.5861 GB, free: 8.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006487/0.3831, allocations: 0.5263 MB / 0.5866 GB, free: 8.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3831, allocations: 8 kB / 0.5866 GB, free: 8.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006236/0.3838, allocations: 135.7 kB / 0.5868 GB, free: 7.957 MB / 430.1 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.0001561/0.3839, allocations: 99.25 kB / 0.5869 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006925/0.3846, allocations: 403.9 kB / 0.5873 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3846, allocations: 0 / 0.5873 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3847, allocations: 47.88 kB / 0.5873 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.3852, allocations: 89.27 kB / 0.5874 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.387, allocations: 1.166 MB / 0.5885 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.3877, allocations: 0.9985 MB / 0.5895 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.3878, allocations: 39.44 kB / 0.5895 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3878, allocations: 0 / 0.5895 GB, free: 5.07 MB / 430.1 MB Notification: Performance of Templates: time 0.01168/0.3995, allocations: 7.613 MB / 0.597 GB, free: 13.47 MB / 446.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches