Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 183.7 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 78.55 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.634e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07244/0.07247, allocations: 47.58 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2387/0.3112, allocations: 112.9 MB / 475.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3114, allocations: 92.81 kB / 475.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4599/0.7713, allocations: 124 MB / 0.5854 GB, free: 75.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003287/0.7717, allocations: 143.8 kB / 0.5856 GB, free: 75.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.01987/0.7916, allocations: 7.034 MB / 0.5924 GB, free: 72.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7917, allocations: 7.312 kB / 0.5924 GB, free: 72.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.8032, allocations: 2.322 MB / 0.5947 GB, free: 72.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.82, allocations: 7.587 MB / 0.6021 GB, free: 71.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.8203, allocations: 229.5 kB / 0.6023 GB, free: 71.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.8228, allocations: 425.3 kB / 0.6027 GB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01657/0.8394, allocations: 10.55 MB / 0.613 GB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02878/0.8683, allocations: 15.06 MB / 0.6277 GB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003744/0.8687, allocations: 83.28 kB / 0.6278 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001745/0.8704, allocations: 39.62 kB / 0.6279 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.8727, allocations: 1.62 MB / 0.6294 GB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08147/0.9542, allocations: 74.51 MB / 0.7022 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006572/0.9608, allocations: 4.755 MB / 0.7068 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005696/0.9666, allocations: 3.926 MB / 0.7107 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/1.123, allocations: 11.62 MB / 0.722 GB, free: 123.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.123, allocations: 59.59 kB / 0.7221 GB, free: 123.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 6.081e-06/1.123, allocations: 0 / 0.7221 GB, free: 123.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=358): time 0.09741/1.221, allocations: 41.24 MB / 0.7624 GB, free: 119.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.221, allocations: 164.4 kB / 0.7625 GB, free: 119.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/1.228, allocations: 4.551 MB / 0.767 GB, free: 118.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009887/1.229, allocations: 29.22 kB / 0.767 GB, free: 118.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/1.232, allocations: 4.405 MB / 0.7713 GB, free: 115.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.234, allocations: 1.291 MB / 0.7725 GB, free: 114.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006129/1.234, allocations: 0 / 0.7725 GB, free: 114.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004776/1.235, allocations: 0.7046 MB / 0.7732 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005025/1.24, allocations: 4.11 MB / 0.7772 GB, free: 112.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007299/1.247, allocations: 9.449 MB / 0.7865 GB, free: 103.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008627/1.256, allocations: 6.209 MB / 0.7925 GB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.256, allocations: 56.92 kB / 0.7926 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.0375/1.293, allocations: 17.2 MB / 0.8094 GB, free: 93.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.294, allocations: 4 kB / 0.8094 GB, free: 93.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.294, allocations: 192 kB / 0.8096 GB, free: 93.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.312, allocations: 5.127 MB / 0.8146 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/1.319, allocations: 2.072 MB / 0.8166 GB, free: 88.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03903/1.358, allocations: 33.24 MB / 0.8491 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/1.366, allocations: 333 kB / 0.8494 GB, free: 58.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/1.368, allocations: 0.5865 MB / 0.85 GB, free: 57.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1100): * Single equations (assignments): 1089 * 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,(3,77.8%) 12,(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.001652/1.37, allocations: 0.5817 MB / 0.8505 GB, free: 57.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.371, allocations: 0.5013 MB / 0.851 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02081/1.392, allocations: 10.38 MB / 0.8612 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001128/1.392, allocations: 47.88 kB / 0.8612 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01874/1.411, allocations: 9.435 MB / 0.8704 GB, free: 37.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-05/1.411, allocations: 15.94 kB / 0.8704 GB, free: 37.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.164/1.575, allocations: 22.42 MB / 0.8923 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.575, allocations: 6.312 kB / 0.8923 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.578, allocations: 454.1 kB / 0.8928 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/1.59, allocations: 3.565 MB / 0.8962 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007739/1.591, allocations: 22.19 kB / 0.8963 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03133/1.622, allocations: 24.14 MB / 0.9198 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01417/1.637, allocations: 10.67 MB / 0.9303 GB, free: 98.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0253/1.662, allocations: 15.17 MB / 0.9451 GB, free: 92.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/1.665, allocations: 1.13 MB / 0.9462 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.666, allocations: 13.22 kB / 0.9462 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.669, allocations: 112.8 kB / 0.9463 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004737/1.67, allocations: 172 kB / 0.9465 GB, free: 92.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003259/1.67, allocations: 93.42 kB / 0.9466 GB, free: 92.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004253/1.675, allocations: 3.072 MB / 0.9496 GB, free: 91.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008201/1.683, allocations: 1.766 MB / 0.9513 GB, free: 91.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (225): * Single equations (assignments): 217 * 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.0008361/1.684, allocations: 224.1 kB / 0.9515 GB, free: 91.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01378/1.697, allocations: 10.31 MB / 0.9616 GB, free: 87.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.697, allocations: 3.938 kB / 0.9616 GB, free: 87.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.703, allocations: 3.984 MB / 0.9655 GB, free: 85.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/1.706, allocations: 0.631 MB / 0.9661 GB, free: 85.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/1.732, allocations: 13.79 MB / 0.9795 GB, free: 73.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008228/1.741, allocations: 5.503 MB / 0.9849 GB, free: 69.61 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/1.741, allocations: 0 / 0.9849 GB, free: 69.61 MB / 426.7 MB Notification: Performance of Templates: time 0.2613/2.002, allocations: 91.45 MB / 1.074 GB, free: 101.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches