Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [: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.0009263/0.0009264, allocations: 186.8 kB / 7.801 MB, free: 2.496 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.026/1.026, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000889/0.0008887, allocations: 91.56 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.392e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3137, allocations: 106.8 MB / 0.5697 GB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.3139, allocations: 71.95 kB / 0.5698 GB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1681/0.482, allocations: 70.9 MB / 0.639 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.4822, allocations: 68 kB / 0.6391 GB, free: 0.5078 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.1139/0.596, allocations: 3.361 MB / 0.6423 GB, free: 164.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.5961, allocations: 9.031 kB / 0.6424 GB, free: 164.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/0.603, allocations: 1.703 MB / 0.644 GB, free: 164.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.6109, allocations: 4.15 MB / 0.6481 GB, free: 163.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.611, allocations: 110 kB / 0.6482 GB, free: 163.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004536/0.6115, allocations: 201.8 kB / 0.6484 GB, free: 163.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005677/0.6172, allocations: 5.275 MB / 0.6535 GB, free: 163.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007226/0.6244, allocations: 8.202 MB / 0.6615 GB, free: 161.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.213e-05/0.6245, allocations: 52.88 kB / 0.6616 GB, free: 161.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.6249, allocations: 27.84 kB / 0.6616 GB, free: 161.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008141/0.6257, allocations: 0.9426 MB / 0.6625 GB, free: 161.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02807/0.6537, allocations: 41.94 MB / 0.7035 GB, free: 131.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.6559, allocations: 2.576 MB / 0.706 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.6572, allocations: 1.547 MB / 0.7075 GB, free: 129.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.6634, allocations: 5.512 MB / 0.7129 GB, free: 125.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.6635, allocations: 47.97 kB / 0.7129 GB, free: 125.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=121): time 3.507e-06/0.6635, allocations: 0 / 0.7129 GB, free: 125.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.01819/0.6817, allocations: 10.85 MB / 0.7235 GB, free: 121 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.6817, allocations: 172.5 kB / 0.7237 GB, free: 120.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.6849, allocations: 2.865 MB / 0.7265 GB, free: 118.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/0.685, allocations: 25.7 kB / 0.7265 GB, free: 118.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.6858, allocations: 2.631 MB / 0.7291 GB, free: 116.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.6861, allocations: 0.5161 MB / 0.7296 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.6863, allocations: 0 / 0.7296 GB, free: 115.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.6865, allocations: 0.5323 MB / 0.7301 GB, free: 115.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.6882, allocations: 1.646 MB / 0.7317 GB, free: 113.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.6908, allocations: 5.173 MB / 0.7368 GB, free: 107.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.6934, allocations: 2.916 MB / 0.7396 GB, free: 104.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.6934, allocations: 43.91 kB / 0.7397 GB, free: 104.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.007111/0.7006, allocations: 6.056 MB / 0.7456 GB, free: 99.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7006, allocations: 4 kB / 0.7456 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.863e-05/0.7007, allocations: 128 kB / 0.7457 GB, free: 99.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.7012, allocations: 342 kB / 0.746 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/0.7047, allocations: 1.303 MB / 0.7473 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.7064, allocations: 2.19 MB / 0.7494 GB, free: 95.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.7096, allocations: 170.4 kB / 0.7496 GB, free: 95.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.7099, allocations: 347.8 kB / 0.7499 GB, free: 95.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.7104, allocations: 423.2 kB / 0.7503 GB, free: 94.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.7107, allocations: 284.2 kB / 0.7506 GB, free: 94.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.7143, allocations: 2.235 MB / 0.7528 GB, free: 92.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.7144, allocations: 12 kB / 0.7528 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7144, allocations: 4 kB / 0.7528 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.7144, allocations: 3.375 kB / 0.7528 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.7223, allocations: 5.297 MB / 0.758 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7224, allocations: 7.969 kB / 0.758 GB, free: 88.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.7232, allocations: 166.8 kB / 0.7581 GB, free: 88.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.7251, allocations: 0.652 MB / 0.7588 GB, free: 87.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.7251, allocations: 5.312 kB / 0.7588 GB, free: 87.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.7295, allocations: 4.2 MB / 0.7629 GB, free: 83.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7295, allocations: 3.938 kB / 0.7629 GB, free: 83.99 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005342/0.7348, allocations: 4.371 MB / 0.7672 GB, free: 80.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/0.7359, allocations: 0.497 MB / 0.7677 GB, free: 79.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.7362, allocations: 4.469 kB / 0.7677 GB, free: 79.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/0.7372, allocations: 37.78 kB / 0.7677 GB, free: 79.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.7373, allocations: 61.7 kB / 0.7677 GB, free: 79.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/0.7374, allocations: 37.64 kB / 0.7678 GB, free: 79.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002215/0.7396, allocations: 1.906 MB / 0.7696 GB, free: 77.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003418/0.7431, allocations: 0.7021 MB / 0.7703 GB, free: 77.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.7434, allocations: 144.8 kB / 0.7705 GB, free: 77.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.7476, allocations: 3.881 MB / 0.7743 GB, free: 73.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7476, allocations: 0 / 0.7743 GB, free: 73.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7486, allocations: 1.082 MB / 0.7753 GB, free: 72.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.7499, allocations: 292.5 kB / 0.7756 GB, free: 72.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.7591, allocations: 5.985 MB / 0.7814 GB, free: 66.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/0.7618, allocations: 3.106 MB / 0.7845 GB, free: 62.99 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7618, allocations: 0 / 0.7845 GB, free: 62.99 MB / 474.7 MB Notification: Performance of Templates: time 0.04249/0.8043, allocations: 28.39 MB / 0.8122 GB, free: 35.43 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches