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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.84 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4555, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006675/0.4622, allocations: 6.347 MB / 0.5251 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.4672, allocations: 1.941 MB / 0.527 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.468, allocations: 27.12 kB / 0.527 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4695, allocations: 0.608 MB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.4702, allocations: 228.4 kB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.4704, allocations: 46.89 kB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.4709, allocations: 463.8 kB / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.4716, allocations: 0.5239 MB / 0.5288 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.4719, allocations: 233.7 kB / 0.529 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.4723, allocations: 308 kB / 0.5293 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.4724, allocations: 42.78 kB / 0.5294 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.4726, allocations: 79.12 kB / 0.5294 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.4729, allocations: 288.3 kB / 0.5297 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.4732, allocations: 352.3 kB / 0.5301 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.4741, allocations: 0.9132 MB / 0.531 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4741, allocations: 1.125 kB / 0.531 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4741, allocations: 0 / 0.531 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4741, allocations: 4 kB / 0.531 GB, free: 11.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001473/0.4756, allocations: 0.9923 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4756, allocations: 9.906 kB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.4762, allocations: 138.1 kB / 0.5321 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.4768, allocations: 456.1 kB / 0.5325 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.4769, allocations: 34.95 kB / 0.5325 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.4769, allocations: 44.7 kB / 0.5326 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.4785, allocations: 1.239 MB / 0.5338 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4785, allocations: 6.688 kB / 0.5338 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.4786, allocations: 34.03 kB / 0.5338 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003692/0.479, allocations: 251.3 kB / 0.5341 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.4803, allocations: 0.8049 MB / 0.5349 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/0.4853, allocations: 5.03 MB / 0.5398 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4855, allocations: 65.97 kB / 0.5398 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.4856, allocations: 43.47 kB / 0.5399 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4856, allocations: 5.188 kB / 0.5399 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4857, allocations: 34.56 kB / 0.5399 GB, free: 4.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.4857, allocations: 5.281 kB / 0.5399 GB, free: 4.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005306/0.4862, allocations: 214.4 kB / 0.5401 GB, free: 4.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4863, allocations: 52.53 kB / 0.5402 GB, free: 3.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4874, allocations: 0.8563 MB / 0.541 GB, free: 3.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4874, allocations: 29.69 kB / 0.541 GB, free: 3.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.4878, allocations: 0.5331 MB / 0.5416 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4878, allocations: 27.75 kB / 0.5416 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.488, allocations: 177.3 kB / 0.5417 GB, free: 2.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4882, allocations: 373.3 kB / 0.5421 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.4885, allocations: 181.2 kB / 0.5423 GB, free: 2.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.4892, allocations: 0.7361 MB / 0.543 GB, free: 1.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4904, allocations: 0.9811 MB / 0.544 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4904, allocations: 5.188 kB / 0.544 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001295/0.4917, allocations: 0.8781 MB / 0.5448 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4917, allocations: 17.31 kB / 0.5448 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.4918, allocations: 19.59 kB / 0.5449 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.086e-05/0.4918, allocations: 27.47 kB / 0.5449 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.4923, allocations: 175.2 kB / 0.545 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.4924, allocations: 37.86 kB / 0.5451 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.493, allocations: 123.4 kB / 0.5452 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.493, allocations: 48.06 kB / 0.5452 GB, free: 15.9 MB / 414.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.arrowLine.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.0004407/0.4935, allocations: 399.4 kB / 0.5456 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.4936, allocations: 59.25 kB / 0.5457 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.4937, allocations: 69.38 kB / 0.5457 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4937, allocations: 0 / 0.5457 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4937, allocations: 4 kB / 0.5458 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4937, allocations: 4 kB / 0.5458 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.4943, allocations: 0.552 MB / 0.5463 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4943, allocations: 0 / 0.5463 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4944, allocations: 19.97 kB / 0.5463 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4944, allocations: 0 / 0.5463 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4945, allocations: 0 / 0.5463 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4945, allocations: 0 / 0.5463 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4945, allocations: 0 / 0.5463 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.4948, allocations: 278.5 kB / 0.5466 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4949, allocations: 132.3 kB / 0.5467 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.495, allocations: 8 kB / 0.5467 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4952, allocations: 7.984 kB / 0.5467 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.4953, allocations: 7.984 kB / 0.5467 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4953, allocations: 0 / 0.5467 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.4959, allocations: 0.5576 MB / 0.5473 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4959, allocations: 0 / 0.5473 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006618/0.4966, allocations: 159.4 kB / 0.5474 GB, free: 13.66 MB / 414.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.0001267/0.4967, allocations: 99.19 kB / 0.5475 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.4973, allocations: 416.6 kB / 0.5479 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4973, allocations: 4.062 kB / 0.5479 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4975, allocations: 55.88 kB / 0.548 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.498, allocations: 94.83 kB / 0.5481 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.4998, allocations: 1.174 MB / 0.5492 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.5005, allocations: 1.026 MB / 0.5502 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004444/0.501, allocations: 212.8 kB / 0.5504 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.501, allocations: 39.44 kB / 0.5505 GB, free: 10.49 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.501, allocations: 3.938 kB / 0.5505 GB, free: 10.49 MB / 414.1 MB Notification: Performance of Templates: time 0.0102/0.5113, allocations: 4.919 MB / 0.5553 GB, free: 5.609 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches