Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002426/0.002426, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2322/0.2322, allocations: 46.94 MB / 361.4 MB, free: 4.402 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-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow")
translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 83.84 kB / 0.4972 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3479, allocations: 66.05 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008009/0.3559, allocations: 6.294 MB / 0.5678 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003849/0.3598, allocations: 2.002 MB / 0.5698 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.3603, allocations: 23.94 kB / 0.5698 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3619, allocations: 0.6306 MB / 0.5704 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.3624, allocations: 206.9 kB / 0.5706 GB, free: 11.35 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3627, allocations: 59.88 kB / 0.5707 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006002/0.3633, allocations: 414.2 kB / 0.5711 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006272/0.364, allocations: 371.3 kB / 0.5714 GB, free: 10.52 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.3643, allocations: 227.1 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.3648, allocations: 302.8 kB / 0.5719 GB, free: 9.996 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.3648, allocations: 36 kB / 0.572 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3651, allocations: 91.88 kB / 0.572 GB, free: 9.871 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.3654, allocations: 275.1 kB / 0.5723 GB, free: 9.602 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000308/0.3657, allocations: 306 kB / 0.5726 GB, free: 9.301 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001033/0.3667, allocations: 0.8242 MB / 0.5734 GB, free: 8.477 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3667, allocations: 0 / 0.5734 GB, free: 8.477 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.3667, allocations: 0 / 0.5734 GB, free: 8.477 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.196e-05/0.3667, allocations: 0 / 0.5734 GB, free: 8.477 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.001739/0.3685, allocations: 0.8896 MB / 0.5743 GB, free: 7.555 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3685, allocations: 8.031 kB / 0.5743 GB, free: 7.547 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.3693, allocations: 164.2 kB / 0.5744 GB, free: 7.387 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.3699, allocations: 388.1 kB / 0.5748 GB, free: 6.98 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.3699, allocations: 37.36 kB / 0.5748 GB, free: 6.945 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.37, allocations: 44.09 kB / 0.5749 GB, free: 6.902 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3715, allocations: 1.082 MB / 0.5759 GB, free: 5.707 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3715, allocations: 4 kB / 0.5759 GB, free: 5.703 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.3715, allocations: 19.98 kB / 0.576 GB, free: 5.684 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003523/0.3719, allocations: 192.4 kB / 0.5761 GB, free: 5.496 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3732, allocations: 0.7165 MB / 0.5768 GB, free: 4.777 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.3786, allocations: 4.611 MB / 0.5814 GB, free: 15.99 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.3788, allocations: 58.52 kB / 0.5814 GB, free: 15.93 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3789, allocations: 48.91 kB / 0.5815 GB, free: 15.88 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3789, allocations: 3.938 kB / 0.5815 GB, free: 15.87 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.379, allocations: 30.56 kB / 0.5815 GB, free: 15.83 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.379, allocations: 4 kB / 0.5815 GB, free: 15.83 MB / 430.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0005482/0.3795, allocations: 221 kB / 0.5817 GB, free: 15.61 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3795, allocations: 51.41 kB / 0.5817 GB, free: 15.54 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3806, allocations: 0.8205 MB / 0.5826 GB, free: 14.71 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3806, allocations: 25.7 kB / 0.5826 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.381, allocations: 0.5218 MB / 0.5831 GB, free: 14.15 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.3811, allocations: 27.83 kB / 0.5831 GB, free: 14.12 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.3813, allocations: 178.4 kB / 0.5833 GB, free: 13.94 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002352/0.3816, allocations: 370.8 kB / 0.5836 GB, free: 13.57 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.3819, allocations: 185.8 kB / 0.5838 GB, free: 13.39 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009059/0.3828, allocations: 0.7351 MB / 0.5845 GB, free: 12.37 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3841, allocations: 0.9781 MB / 0.5855 GB, free: 11.11 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.3841, allocations: 4 kB / 0.5855 GB, free: 11.1 MB / 430.1 MB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.001442/0.3856, allocations: 0.8687 MB / 0.5863 GB, free: 10.23 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.3856, allocations: 16 kB / 0.5864 GB, free: 10.21 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.3856, allocations: 20 kB / 0.5864 GB, free: 10.19 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/0.3857, allocations: 27.94 kB / 0.5864 GB, free: 10.16 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.3862, allocations: 179.7 kB / 0.5866 GB, free: 9.988 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.169e-05/0.3862, allocations: 43.8 kB / 0.5866 GB, free: 9.945 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.3868, allocations: 119.5 kB / 0.5867 GB, free: 9.828 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.3868, allocations: 55.98 kB / 0.5868 GB, free: 9.773 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.0004343/0.3873, allocations: 356.7 kB / 0.5871 GB, free: 9.414 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.3874, allocations: 67.58 kB / 0.5872 GB, free: 9.348 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.3875, allocations: 61.38 kB / 0.5872 GB, free: 9.281 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3875, allocations: 3.938 kB / 0.5872 GB, free: 9.277 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3875, allocations: 0 / 0.5872 GB, free: 9.277 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3875, allocations: 3.984 kB / 0.5872 GB, free: 9.273 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.3881, allocations: 484.4 kB / 0.5877 GB, free: 8.758 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3881, allocations: 0 / 0.5877 GB, free: 8.758 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.3882, allocations: 11.98 kB / 0.5877 GB, free: 8.746 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3882, allocations: 0 / 0.5877 GB, free: 8.746 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3882, allocations: 0 / 0.5877 GB, free: 8.746 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3882, allocations: 3.938 kB / 0.5877 GB, free: 8.742 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3882, allocations: 0 / 0.5877 GB, free: 8.742 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.3886, allocations: 275.2 kB / 0.588 GB, free: 8.457 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3887, allocations: 59.56 kB / 0.588 GB, free: 8.398 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3887, allocations: 48 / 0.588 GB, free: 8.398 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3889, allocations: 15.91 kB / 0.5881 GB, free: 8.383 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.389, allocations: 11.98 kB / 0.5881 GB, free: 8.371 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.389, allocations: 0 / 0.5881 GB, free: 8.371 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0006692/0.3897, allocations: 0.5302 MB / 0.5886 GB, free: 7.844 MB / 430.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3897, allocations: 0 / 0.5886 GB, free: 7.844 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0006664/0.3903, allocations: 139.7 kB / 0.5887 GB, free: 7.707 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.0001492/0.3905, allocations: 95.25 kB / 0.5888 GB, free: 7.605 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007258/0.3912, allocations: 412.5 kB / 0.5892 GB, free: 7.207 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3912, allocations: 0 / 0.5892 GB, free: 7.207 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3913, allocations: 43.94 kB / 0.5892 GB, free: 7.164 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3919, allocations: 103.9 kB / 0.5893 GB, free: 7.07 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3937, allocations: 1.103 MB / 0.5904 GB, free: 5.938 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.3944, allocations: 0.987 MB / 0.5914 GB, free: 4.922 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0004485/0.3949, allocations: 204.9 kB / 0.5916 GB, free: 4.719 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.395, allocations: 35.44 kB / 0.5916 GB, free: 4.684 MB / 430.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.395, allocations: 4 kB / 0.5916 GB, free: 4.68 MB / 430.1 MB
Notification: Performance of Templates: time 0.01126/0.4062, allocations: 5.072 MB / 0.5966 GB, free: 15.63 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.443621872924268]