Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008097/0.0008097, allocations: 91.42 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 45.01 MB / 397 MB, free: 31.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002635, allocations: 8 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3044, allocations: 63.1 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01345/0.3179, allocations: 18.42 MB / 0.5394 GB, free: 25.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.3257, allocations: 5.721 MB / 0.5449 GB, free: 20.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.328, allocations: 81 kB / 0.545 GB, free: 20.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.3284, allocations: 95.77 kB / 0.5451 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.3289, allocations: 195.6 kB / 0.5453 GB, free: 20.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3291, allocations: 44.72 kB / 0.5453 GB, free: 20.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.3296, allocations: 0.6904 MB / 0.546 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.3307, allocations: 1.065 MB / 0.5471 GB, free: 19.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.331, allocations: 195.6 kB / 0.5472 GB, free: 19.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.3314, allocations: 275.5 kB / 0.5475 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.3315, allocations: 18.72 kB / 0.5475 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3317, allocations: 73.34 kB / 0.5476 GB, free: 19.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3319, allocations: 247.1 kB / 0.5478 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3322, allocations: 345.1 kB / 0.5482 GB, free: 19.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008271/0.333, allocations: 0.8605 MB / 0.549 GB, free: 18.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.333, allocations: 0 / 0.549 GB, free: 18.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.333, allocations: 1.812 kB / 0.549 GB, free: 18.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.333, allocations: 0 / 0.549 GB, free: 18.78 MB / 378.7 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.001104/0.3341, allocations: 0.8708 MB / 0.5499 GB, free: 18.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3342, allocations: 10.23 kB / 0.5499 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.3349, allocations: 172.7 kB / 0.55 GB, free: 18.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.3354, allocations: 462 kB / 0.5505 GB, free: 17.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.3354, allocations: 30.89 kB / 0.5505 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.3355, allocations: 52.44 kB / 0.5505 GB, free: 17.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3369, allocations: 1.244 MB / 0.5518 GB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3369, allocations: 2.969 kB / 0.5518 GB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.337, allocations: 26.23 kB / 0.5518 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003643/0.3374, allocations: 243.5 kB / 0.552 GB, free: 16.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3385, allocations: 0.808 MB / 0.5528 GB, free: 16.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.3422, allocations: 5.085 MB / 0.5578 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3423, allocations: 72.22 kB / 0.5578 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3425, allocations: 49.31 kB / 0.5579 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.3425, allocations: 8.875 kB / 0.5579 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3425, allocations: 36.55 kB / 0.5579 GB, free: 12.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.3425, allocations: 0 / 0.5579 GB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004985/0.343, allocations: 231.6 kB / 0.5582 GB, free: 12.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.3431, allocations: 51.41 kB / 0.5582 GB, free: 12.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.3441, allocations: 0.8506 MB / 0.559 GB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.3441, allocations: 25.7 kB / 0.5591 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3443, allocations: 0.5345 MB / 0.5596 GB, free: 11.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3444, allocations: 27.03 kB / 0.5596 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.3444, allocations: 19.59 kB / 0.5596 GB, free: 11.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.3445, allocations: 381.5 kB / 0.56 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.3448, allocations: 180.3 kB / 0.5602 GB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.3452, allocations: 0.7411 MB / 0.5609 GB, free: 10.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.346, allocations: 0.9917 MB / 0.5619 GB, free: 9.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.346, allocations: 5.312 kB / 0.5619 GB, free: 9.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001212/0.3472, allocations: 0.8785 MB / 0.5627 GB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3473, allocations: 14.53 kB / 0.5627 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.3473, allocations: 20.62 kB / 0.5627 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.3473, allocations: 29.56 kB / 0.5628 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.3478, allocations: 183.1 kB / 0.563 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/0.3478, allocations: 41.53 kB / 0.563 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.3484, allocations: 117.6 kB / 0.5631 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.3484, allocations: 51.06 kB / 0.5632 GB, free: 8.801 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.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.0004179/0.3489, allocations: 385.8 kB / 0.5635 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.3489, allocations: 62.14 kB / 0.5636 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.349, allocations: 63.23 kB / 0.5636 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.349, allocations: 1.375 kB / 0.5636 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.349, allocations: 0 / 0.5636 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3491, allocations: 0 / 0.5636 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.3496, allocations: 0.5572 MB / 0.5642 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3496, allocations: 0 / 0.5642 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.3497, allocations: 18.8 kB / 0.5642 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3497, allocations: 5.031 kB / 0.5642 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3497, allocations: 4 kB / 0.5642 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3497, allocations: 1.156 kB / 0.5642 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3497, allocations: 0 / 0.5642 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3501, allocations: 284.4 kB / 0.5645 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.3502, allocations: 134.7 kB / 0.5646 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.3502, allocations: 1.172 kB / 0.5646 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3504, allocations: 15.62 kB / 0.5646 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3505, allocations: 11.3 kB / 0.5646 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3505, allocations: 1.125 kB / 0.5646 GB, free: 7.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005375/0.351, allocations: 0.5487 MB / 0.5652 GB, free: 7.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.351, allocations: 4.969 kB / 0.5652 GB, free: 7.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006386/0.3517, allocations: 156.4 kB / 0.5653 GB, free: 7.312 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.0001077/0.3518, allocations: 109.7 kB / 0.5654 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.3524, allocations: 428.4 kB / 0.5658 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3524, allocations: 0 / 0.5658 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3525, allocations: 51.36 kB / 0.5659 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.353, allocations: 95.94 kB / 0.566 GB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3546, allocations: 1.476 MB / 0.5674 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3551, allocations: 1.031 MB / 0.5684 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005025/0.3556, allocations: 209.8 kB / 0.5686 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.3557, allocations: 40.91 kB / 0.5687 GB, free: 4.965 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3557, allocations: 0 / 0.5687 GB, free: 4.965 MB / 378.7 MB Notification: Performance of Templates: time 0.007966/0.3637, allocations: 4.476 MB / 0.573 GB, free: 0.5391 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches