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.006181/0.006181, allocations: 109.8 kB / 21.98 MB, free: 5.18 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.001732/0.001732, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.449/1.449, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2348/0.2348, allocations: 46.93 MB / 362.3 MB, free: 4.191 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.002295/0.002295, allocations: 83.86 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3345, allocations: 66.08 MB / 0.5628 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008348/0.3429, allocations: 6.289 MB / 0.5689 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.347, allocations: 2.006 MB / 0.5709 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.3475, allocations: 27.94 kB / 0.5709 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.349, allocations: 0.6267 MB / 0.5715 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.3495, allocations: 206.9 kB / 0.5717 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.3497, allocations: 63.86 kB / 0.5717 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.3502, allocations: 422 kB / 0.5722 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.3508, allocations: 419.1 kB / 0.5726 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.3511, allocations: 235 kB / 0.5728 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.3516, allocations: 290.9 kB / 0.5731 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.3516, allocations: 40 kB / 0.5731 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.3518, allocations: 91.88 kB / 0.5732 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.3521, allocations: 267.2 kB / 0.5734 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.3524, allocations: 310 kB / 0.5737 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.3535, allocations: 0.828 MB / 0.5745 GB, free: 8.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3535, allocations: 4 kB / 0.5745 GB, free: 8.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3535, allocations: 4 kB / 0.5745 GB, free: 8.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3535, allocations: 0 / 0.5745 GB, free: 8.109 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.001514/0.355, allocations: 0.8857 MB / 0.5754 GB, free: 7.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.355, allocations: 8.031 kB / 0.5754 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.3558, allocations: 164.2 kB / 0.5756 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.3564, allocations: 392.1 kB / 0.5759 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.3564, allocations: 29.36 kB / 0.576 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.3565, allocations: 48.11 kB / 0.576 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.3579, allocations: 1.078 MB / 0.5771 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.358, allocations: 4 kB / 0.5771 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.358, allocations: 19.98 kB / 0.5771 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/0.3584, allocations: 196.4 kB / 0.5773 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3595, allocations: 0.7157 MB / 0.578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.3638, allocations: 4.607 MB / 0.5825 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.364, allocations: 62.53 kB / 0.5825 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3641, allocations: 44.91 kB / 0.5826 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3641, allocations: 3.984 kB / 0.5826 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3642, allocations: 34.56 kB / 0.5826 GB, free: 15.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.3642, allocations: 0 / 0.5826 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005134/0.3647, allocations: 225 kB / 0.5828 GB, free: 15.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3647, allocations: 51.41 kB / 0.5829 GB, free: 15.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3657, allocations: 0.8204 MB / 0.5837 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3657, allocations: 29.64 kB / 0.5837 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.3662, allocations: 0.5179 MB / 0.5842 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3662, allocations: 31.81 kB / 0.5843 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.3664, allocations: 174.5 kB / 0.5844 GB, free: 13.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3666, allocations: 374.8 kB / 0.5848 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.3669, allocations: 181.9 kB / 0.5849 GB, free: 13.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.3677, allocations: 0.7351 MB / 0.5857 GB, free: 12.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3689, allocations: 0.9742 MB / 0.5866 GB, free: 10.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3689, allocations: 8 kB / 0.5866 GB, free: 10.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00137/0.3703, allocations: 0.8723 MB / 0.5875 GB, free: 9.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.3703, allocations: 16 kB / 0.5875 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.3703, allocations: 20 kB / 0.5875 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.09e-05/0.3704, allocations: 27.94 kB / 0.5875 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.3709, allocations: 176.2 kB / 0.5877 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.827e-05/0.3709, allocations: 43.8 kB / 0.5877 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3714, allocations: 123.2 kB / 0.5879 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3715, allocations: 44 kB / 0.5879 GB, free: 9.422 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.0004193/0.3719, allocations: 360.9 kB / 0.5883 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.372, allocations: 67.56 kB / 0.5883 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3721, allocations: 61.38 kB / 0.5884 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3721, allocations: 11.86 kB / 0.5884 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3721, allocations: 4 kB / 0.5884 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3721, allocations: 0 / 0.5884 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3727, allocations: 476.4 kB / 0.5888 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3727, allocations: 4 kB / 0.5888 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.3728, allocations: 15.98 kB / 0.5889 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3728, allocations: 0 / 0.5889 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3728, allocations: 0 / 0.5889 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3728, allocations: 3.938 kB / 0.5889 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3728, allocations: 0 / 0.5889 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3732, allocations: 275 kB / 0.5891 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3733, allocations: 55.56 kB / 0.5892 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.3733, allocations: 4 kB / 0.5892 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3735, allocations: 15.92 kB / 0.5892 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.3736, allocations: 7.984 kB / 0.5892 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3736, allocations: 0 / 0.5892 GB, free: 8.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.3743, allocations: 0.538 MB / 0.5897 GB, free: 7.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3743, allocations: 0 / 0.5897 GB, free: 7.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006129/0.3749, allocations: 131.8 kB / 0.5899 GB, free: 7.348 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.0001498/0.375, allocations: 95.25 kB / 0.59 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006941/0.3757, allocations: 411.7 kB / 0.5903 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3757, allocations: 0 / 0.5903 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3758, allocations: 47.89 kB / 0.5904 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.3763, allocations: 83.83 kB / 0.5905 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3781, allocations: 1.175 MB / 0.5916 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.3788, allocations: 0.9872 MB / 0.5926 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.3789, allocations: 43.42 kB / 0.5926 GB, free: 4.453 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3789, allocations: 0 / 0.5926 GB, free: 4.453 MB / 430.1 MB Notification: Performance of Templates: time 0.01208/0.391, allocations: 7.617 MB / 0.6001 GB, free: 12.85 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/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-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: 8.220750393113121]