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.00177/0.00177, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002092/0.002092, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.3028/0.3028, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 63.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3493, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008287/0.3576, allocations: 6.297 MB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.3618, allocations: 2.006 MB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000515/0.3623, allocations: 27.88 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.3638, allocations: 0.6229 MB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.3643, allocations: 202.9 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3645, allocations: 63.86 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.3651, allocations: 418.1 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006214/0.3657, allocations: 423 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.366, allocations: 227.1 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.3665, allocations: 294.9 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.3665, allocations: 36 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.3667, allocations: 87.89 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.367, allocations: 279.1 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.3673, allocations: 306 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.3683, allocations: 0.8319 MB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3683, allocations: 4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3683, allocations: 0 / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3683, allocations: 0 / 0.5701 GB, free: 11.59 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.001496/0.3698, allocations: 0.8896 MB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3698, allocations: 8.031 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.3706, allocations: 164.2 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.3713, allocations: 384.2 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3713, allocations: 33.36 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.3714, allocations: 44.11 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.3728, allocations: 1.082 MB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3728, allocations: 7.938 kB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.3729, allocations: 27.98 kB / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.3732, allocations: 184.5 kB / 0.5728 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3744, allocations: 0.7126 MB / 0.5735 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.3788, allocations: 4.611 MB / 0.578 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.379, allocations: 62.52 kB / 0.5781 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3791, allocations: 48.91 kB / 0.5781 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3791, allocations: 0 / 0.5781 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3792, allocations: 34.5 kB / 0.5781 GB, free: 2.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3792, allocations: 7.938 kB / 0.5781 GB, free: 2.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005161/0.3797, allocations: 217.1 kB / 0.5783 GB, free: 2.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3797, allocations: 51.41 kB / 0.5784 GB, free: 2.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3807, allocations: 0.8165 MB / 0.5792 GB, free: 1.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3808, allocations: 29.69 kB / 0.5792 GB, free: 1.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.3812, allocations: 0.5179 MB / 0.5797 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3812, allocations: 35.81 kB / 0.5798 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.3815, allocations: 166.5 kB / 0.5799 GB, free: 1.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3817, allocations: 382.8 kB / 0.5803 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.382, allocations: 177.9 kB / 0.5805 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.3828, allocations: 0.7389 MB / 0.5812 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.384, allocations: 0.9743 MB / 0.5821 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.384, allocations: 4 kB / 0.5821 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001427/0.3854, allocations: 0.8721 MB / 0.583 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3854, allocations: 16 kB / 0.583 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.3855, allocations: 20 kB / 0.583 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.3855, allocations: 28.72 kB / 0.583 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.386, allocations: 175.6 kB / 0.5832 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-05/0.3861, allocations: 47.84 kB / 0.5833 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.3866, allocations: 115.2 kB / 0.5834 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.3866, allocations: 48 kB / 0.5834 GB, free: 12.91 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.0004349/0.3871, allocations: 367.9 kB / 0.5838 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.3872, allocations: 63.58 kB / 0.5838 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3873, allocations: 61.38 kB / 0.5839 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3873, allocations: 11.88 kB / 0.5839 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3873, allocations: 0 / 0.5839 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3873, allocations: 0 / 0.5839 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.3879, allocations: 484.4 kB / 0.5844 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3879, allocations: 0 / 0.5844 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.388, allocations: 15.92 kB / 0.5844 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.388, allocations: 0 / 0.5844 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.388, allocations: 0 / 0.5844 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.388, allocations: 3.938 kB / 0.5844 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.388, allocations: 0 / 0.5844 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.3884, allocations: 275 kB / 0.5846 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3885, allocations: 59.56 kB / 0.5847 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.3885, allocations: 4 kB / 0.5847 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3887, allocations: 7.938 kB / 0.5847 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3888, allocations: 11.97 kB / 0.5847 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3888, allocations: 0 / 0.5847 GB, free: 11.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006922/0.3895, allocations: 0.538 MB / 0.5852 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3895, allocations: 0 / 0.5852 GB, free: 10.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006496/0.3901, allocations: 139.7 kB / 0.5854 GB, free: 10.82 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.0001421/0.3903, allocations: 95.19 kB / 0.5855 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.391, allocations: 403.3 kB / 0.5859 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.391, allocations: 0 / 0.5859 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3911, allocations: 49.31 kB / 0.5859 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.3916, allocations: 89.56 kB / 0.586 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3935, allocations: 1.175 MB / 0.5871 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.3942, allocations: 0.9872 MB / 0.5881 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.3943, allocations: 43.44 kB / 0.5881 GB, free: 7.934 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3943, allocations: 4 kB / 0.5881 GB, free: 7.93 MB / 430.1 MB Notification: Performance of Templates: time 0.01235/0.4067, allocations: 7.614 MB / 0.5956 GB, free: 344 kB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 8.219391395105049]