Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 185.3 kB / 8.138 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.4 MB / 229.9 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.000925, allocations: 100 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.213, allocations: 50.4 MB / 386.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3384, allocations: 114.2 MB / 0.4894 GB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.3387, allocations: 85.08 kB / 0.4895 GB, free: 4.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4258/0.7645, allocations: 123.3 MB / 0.6099 GB, free: 14.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004287/0.765, allocations: 140 kB / 0.61 GB, free: 14.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02337/0.7884, allocations: 6.934 MB / 0.6168 GB, free: 7.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7884, allocations: 8.031 kB / 0.6168 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.8004, allocations: 2.292 MB / 0.619 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/0.8195, allocations: 7.215 MB / 0.626 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/0.8199, allocations: 228 kB / 0.6263 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/0.823, allocations: 411.9 kB / 0.6267 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01975/0.8427, allocations: 10.33 MB / 0.6367 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/0.8723, allocations: 14.81 MB / 0.6512 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/0.8727, allocations: 79.28 kB / 0.6513 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002032/0.8747, allocations: 36 kB / 0.6513 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00246/0.8772, allocations: 1.577 MB / 0.6529 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2166/1.094, allocations: 73.6 MB / 0.7247 GB, free: 58.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/1.099, allocations: 4.712 MB / 0.7293 GB, free: 57.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/1.103, allocations: 3.895 MB / 0.7331 GB, free: 57.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/1.119, allocations: 11.3 MB / 0.7442 GB, free: 52.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/1.119, allocations: 70.23 kB / 0.7442 GB, free: 52.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=266): time 5.58e-06/1.119, allocations: 0 / 0.7442 GB, free: 52.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.09375/1.213, allocations: 40.85 MB / 0.7841 GB, free: 38.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.213, allocations: 164.6 kB / 0.7843 GB, free: 38.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.219, allocations: 4.438 MB / 0.7886 GB, free: 34.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006932/1.22, allocations: 25.7 kB / 0.7887 GB, free: 34.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.221, allocations: 4.322 MB / 0.7929 GB, free: 30.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.223, allocations: 1.257 MB / 0.7941 GB, free: 29.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/1.223, allocations: 0 / 0.7941 GB, free: 29.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004246/1.224, allocations: 0.7048 MB / 0.7948 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/1.229, allocations: 4.048 MB / 0.7987 GB, free: 25.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007037/1.236, allocations: 9.298 MB / 0.8078 GB, free: 14.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/1.243, allocations: 6.114 MB / 0.8138 GB, free: 9.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-05/1.243, allocations: 56 kB / 0.8138 GB, free: 9.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.162/1.405, allocations: 17.04 MB / 0.8305 GB, free: 86.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.405, allocations: 7.781 kB / 0.8305 GB, free: 86.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/1.405, allocations: 187 kB / 0.8307 GB, free: 86.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01788/1.423, allocations: 5.113 MB / 0.8357 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006903/1.43, allocations: 2.02 MB / 0.8376 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/1.47, allocations: 33.27 MB / 0.8701 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007914/1.478, allocations: 323.5 kB / 0.8704 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/1.479, allocations: 0.5763 MB / 0.871 GB, free: 77.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 62 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1075): * Single equations (assignments): 1064 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001462/1.481, allocations: 0.5756 MB / 0.8716 GB, free: 77.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009141/1.482, allocations: 0.4928 MB / 0.872 GB, free: 77.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/1.503, allocations: 10.28 MB / 0.8821 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/1.504, allocations: 40.84 kB / 0.8821 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01976/1.523, allocations: 9.346 MB / 0.8912 GB, free: 76.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-05/1.523, allocations: 17.11 kB / 0.8913 GB, free: 76.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04341/1.567, allocations: 21.73 MB / 0.9125 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/1.567, allocations: 3.719 kB / 0.9125 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.57, allocations: 430.8 kB / 0.9129 GB, free: 69.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01406/1.584, allocations: 3.558 MB / 0.9164 GB, free: 68.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008561/1.585, allocations: 21.02 kB / 0.9164 GB, free: 68.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03199/1.617, allocations: 24.12 MB / 0.9399 GB, free: 51.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01428/1.631, allocations: 10.66 MB / 0.9504 GB, free: 41.69 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02559/1.657, allocations: 14.6 MB / 0.9646 GB, free: 29.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.658, allocations: 0.5241 MB / 0.9651 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/1.66, allocations: 8 kB / 0.9651 GB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.663, allocations: 114.3 kB / 0.9652 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/1.664, allocations: 157.9 kB / 0.9654 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.664, allocations: 87.91 kB / 0.9655 GB, free: 28.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004455/1.669, allocations: 3.001 MB / 0.9684 GB, free: 25.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01152/1.68, allocations: 1.738 MB / 0.9701 GB, free: 24.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 207 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/1.682, allocations: 218.3 kB / 0.9703 GB, free: 24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1409/1.823, allocations: 10.17 MB / 0.9802 GB, free: 84.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.823, allocations: 3.875 kB / 0.9802 GB, free: 84.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005043/1.828, allocations: 3.928 MB / 0.9841 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/1.832, allocations: 0.6131 MB / 0.9847 GB, free: 83.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/1.857, allocations: 13.49 MB / 0.9979 GB, free: 81.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007734/1.865, allocations: 5.405 MB / 1.003 GB, free: 80.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.305e-06/1.865, allocations: 3.469 kB / 1.003 GB, free: 80.23 MB / 426.7 MB Notification: Performance of Templates: time 0.1419/2.007, allocations: 90.39 MB / 1.091 GB, free: 43.47 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches