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.001471/0.001471, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001605/0.001605, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 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.212/0.212, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 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 0.002022/0.002022, allocations: 71.88 kB / 443.2 MB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 66 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005409/0.3542, allocations: 5.606 MB / 0.5027 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.3574, allocations: 1.874 MB / 0.5045 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.3578, allocations: 26.53 kB / 0.5046 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.359, allocations: 0.6029 MB / 0.5052 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3594, allocations: 209.2 kB / 0.5054 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3596, allocations: 54.86 kB / 0.5054 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.36, allocations: 413.2 kB / 0.5058 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.3604, allocations: 419.2 kB / 0.5062 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.3607, allocations: 234.1 kB / 0.5064 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.361, allocations: 274.5 kB / 0.5067 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.3611, allocations: 37.28 kB / 0.5067 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3612, allocations: 93.38 kB / 0.5068 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.3614, allocations: 272.8 kB / 0.5071 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3616, allocations: 237 kB / 0.5073 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.3622, allocations: 0.829 MB / 0.5081 GB, free: 23.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3622, allocations: 0 / 0.5081 GB, free: 23.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3622, allocations: 0 / 0.5081 GB, free: 23.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3622, allocations: 4 kB / 0.5081 GB, free: 23.4 MB / 446.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.001164/0.3634, allocations: 0.8929 MB / 0.509 GB, free: 22.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3634, allocations: 9.062 kB / 0.509 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/0.3642, allocations: 165.7 kB / 0.5092 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.3647, allocations: 398 kB / 0.5095 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.3647, allocations: 28.45 kB / 0.5096 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.3648, allocations: 47.58 kB / 0.5096 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3658, allocations: 1.075 MB / 0.5107 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3658, allocations: 6.938 kB / 0.5107 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.3659, allocations: 22.2 kB / 0.5107 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003008/0.3662, allocations: 191.7 kB / 0.5109 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3672, allocations: 0.712 MB / 0.5116 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.3701, allocations: 4.314 MB / 0.5158 GB, free: 17.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3703, allocations: 56.38 kB / 0.5158 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3704, allocations: 50.88 kB / 0.5159 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3704, allocations: 2.156 kB / 0.5159 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3704, allocations: 35.92 kB / 0.5159 GB, free: 17.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.3704, allocations: 3.938 kB / 0.5159 GB, free: 17.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005376/0.371, allocations: 207.9 kB / 0.5161 GB, free: 17.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.371, allocations: 59.34 kB / 0.5162 GB, free: 17.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.3719, allocations: 0.7731 MB / 0.5169 GB, free: 17.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3719, allocations: 25.7 kB / 0.517 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.3722, allocations: 0.5279 MB / 0.5175 GB, free: 16.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3722, allocations: 27.45 kB / 0.5175 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.3724, allocations: 169 kB / 0.5177 GB, free: 16.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3725, allocations: 369.1 kB / 0.518 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.3728, allocations: 181.4 kB / 0.5182 GB, free: 16.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.3734, allocations: 0.7327 MB / 0.5189 GB, free: 15.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.3742, allocations: 0.9807 MB / 0.5199 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.3743, allocations: 5.531 kB / 0.5199 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001298/0.3756, allocations: 0.8677 MB / 0.5207 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.3756, allocations: 13.94 kB / 0.5207 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.3756, allocations: 20.77 kB / 0.5207 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.924e-05/0.3756, allocations: 26.72 kB / 0.5208 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.3761, allocations: 181.6 kB / 0.5209 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.885e-05/0.3762, allocations: 41.48 kB / 0.521 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.3767, allocations: 111.3 kB / 0.5211 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.3768, allocations: 52.52 kB / 0.5211 GB, free: 14.09 MB / 446.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.0003864/0.3772, allocations: 359.4 kB / 0.5215 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.3773, allocations: 56.66 kB / 0.5215 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.3773, allocations: 55.89 kB / 0.5216 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3773, allocations: 0.5156 kB / 0.5216 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3774, allocations: 3.938 kB / 0.5216 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3774, allocations: 2.469 kB / 0.5216 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3778, allocations: 339 kB / 0.5219 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3778, allocations: 0 / 0.5219 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.3779, allocations: 16.14 kB / 0.5219 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3779, allocations: 3.938 kB / 0.5219 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3779, allocations: 6.312 kB / 0.5219 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3779, allocations: 0 / 0.5219 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3779, allocations: 0.9375 kB / 0.5219 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3782, allocations: 271 kB / 0.5222 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.3783, allocations: 49.83 kB / 0.5222 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.3784, allocations: 2.031 kB / 0.5223 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3786, allocations: 10.7 kB / 0.5223 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.3786, allocations: 13.36 kB / 0.5223 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3786, allocations: 1.891 kB / 0.5223 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.3792, allocations: 483.2 kB / 0.5227 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3792, allocations: 0 / 0.5227 GB, free: 13.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000713/0.3799, allocations: 147.3 kB / 0.5229 GB, free: 13.14 MB / 446.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.0001256/0.38, allocations: 97.5 kB / 0.523 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.3807, allocations: 409.1 kB / 0.5234 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3807, allocations: 5.125 kB / 0.5234 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3808, allocations: 47.42 kB / 0.5234 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3813, allocations: 84.03 kB / 0.5235 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3832, allocations: 1.088 MB / 0.5246 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.3837, allocations: 389.7 kB / 0.5249 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.3842, allocations: 200.7 kB / 0.5251 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.3843, allocations: 35.39 kB / 0.5251 GB, free: 12.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3843, allocations: 0 / 0.5251 GB, free: 12.13 MB / 446.1 MB Notification: Performance of Templates: time 0.01082/0.3951, allocations: 3.98 MB / 0.529 GB, free: 11.66 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/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: 5.006011691992171]