Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 217 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 230.2 MB / 256.8 MB, free: 8.617 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2232/0.2232, allocations: 46.89 MB / 359.9 MB, free: 4.996 MB / 286.1 MB [Timeout remaining time 90] 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") [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.002363/0.002363, allocations: 79.88 kB / 0.4949 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3382, allocations: 65.97 MB / 0.5594 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006578/0.3448, allocations: 5.423 MB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.348, allocations: 1.815 MB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.3483, allocations: 20 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3495, allocations: 0.5524 MB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.3512, allocations: 0.9185 MB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.996e-05/0.3513, allocations: 15.97 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3531, allocations: 1.53 MB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007855/0.3539, allocations: 0.6765 MB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.3545, allocations: 0.5174 MB / 0.5706 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.3565, allocations: 1.695 MB / 0.5722 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.3567, allocations: 92 kB / 0.5723 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.3573, allocations: 327.5 kB / 0.5726 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.3579, allocations: 0.7203 MB / 0.5733 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007323/0.3587, allocations: 0.869 MB / 0.5742 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.3614, allocations: 2.81 MB / 0.5769 GB, free: 3.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3614, allocations: 0 / 0.5769 GB, free: 3.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3614, allocations: 0 / 0.5769 GB, free: 3.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.3614, allocations: 0 / 0.5769 GB, free: 3.148 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002846/0.3643, allocations: 2.113 MB / 0.579 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3643, allocations: 8.031 kB / 0.579 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.3691, allocations: 1.509 MB / 0.5805 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.3709, allocations: 0.8607 MB / 0.5813 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.371, allocations: 82.47 kB / 0.5814 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3712, allocations: 115.8 kB / 0.5815 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006523/0.3777, allocations: 4.968 MB / 0.5863 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.3778, allocations: 27.75 kB / 0.5864 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.3779, allocations: 59.91 kB / 0.5864 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001839/0.3798, allocations: 1.182 MB / 0.5876 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.3868, allocations: 4.254 MB / 0.5917 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02243/0.4092, allocations: 20.55 MB / 0.6118 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4107, allocations: 1.177 MB / 0.613 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.4112, allocations: 351.3 kB / 0.6133 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4112, allocations: 7.938 kB / 0.6133 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.4113, allocations: 46.48 kB / 0.6133 GB, free: 12.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.136e-06/0.4113, allocations: 0 / 0.6133 GB, free: 12.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00179/0.4131, allocations: 1.154 MB / 0.6145 GB, free: 11.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.4131, allocations: 140.5 kB / 0.6146 GB, free: 11.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.4164, allocations: 2.437 MB / 0.617 GB, free: 8.547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.4164, allocations: 33.69 kB / 0.617 GB, free: 8.508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4178, allocations: 1.874 MB / 0.6188 GB, free: 6.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.4181, allocations: 313.8 kB / 0.6191 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009396/0.419, allocations: 0.794 MB / 0.6199 GB, free: 5.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4192, allocations: 349.9 kB / 0.6203 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4207, allocations: 1.034 MB / 0.6213 GB, free: 4.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.4241, allocations: 3.687 MB / 0.6249 GB, free: 15.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/0.4298, allocations: 5.162 MB / 0.6299 GB, free: 8.609 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.804e-05/0.4299, allocations: 24 kB / 0.6299 GB, free: 8.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007322/0.4372, allocations: 4.47 MB / 0.6343 GB, free: 4.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/0.4373, allocations: 45.88 kB / 0.6343 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.4374, allocations: 96 kB / 0.6344 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.4375, allocations: 124 kB / 0.6345 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.4398, allocations: 0.8733 MB / 0.6354 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/0.44, allocations: 179.3 kB / 0.6356 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.4424, allocations: 0.5705 MB / 0.6361 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.4427, allocations: 252 kB / 0.6364 GB, free: 1.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001537/0.4442, allocations: 1.184 MB / 0.6375 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4445, allocations: 202.6 kB / 0.6377 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.4449, allocations: 217.7 kB / 0.6379 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.4449, allocations: 19.98 kB / 0.6379 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4449, allocations: 4 kB / 0.6379 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4449, allocations: 0 / 0.6379 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.4484, allocations: 2.069 MB / 0.64 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4484, allocations: 4 kB / 0.64 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.4487, allocations: 63.89 kB / 0.64 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4487, allocations: 4 kB / 0.64 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4487, allocations: 8.094 kB / 0.64 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4487, allocations: 7.938 kB / 0.6401 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4487, allocations: 3.984 kB / 0.6401 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.45, allocations: 1.207 MB / 0.6412 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.4504, allocations: 259.6 kB / 0.6415 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.4505, allocations: 11.98 kB / 0.6415 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.451, allocations: 15.98 kB / 0.6415 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.451, allocations: 27.91 kB / 0.6415 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.4511, allocations: 23.98 kB / 0.6416 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.453, allocations: 1.49 MB / 0.643 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.453, allocations: 0 / 0.643 GB, free: 11.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002532/0.4555, allocations: 0.5264 MB / 0.6435 GB, free: 10.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002627/0.4558, allocations: 127.1 kB / 0.6436 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.4592, allocations: 2.257 MB / 0.6459 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4592, allocations: 0 / 0.6459 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.4597, allocations: 340.4 kB / 0.6462 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4607, allocations: 167.3 kB / 0.6463 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.467, allocations: 4.312 MB / 0.6505 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.4688, allocations: 1.869 MB / 0.6524 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.4692, allocations: 155.4 kB / 0.6525 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4692, allocations: 8 kB / 0.6525 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Templates: time 0.04375/0.5129, allocations: 28.07 MB / 0.6799 GB, free: 5.207 MB / 0.5137 GB [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches