Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [: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.0009145/0.0009145, allocations: 187.3 kB / 7.801 MB, free: 2.457 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.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0007795/0.0007795, allocations: 87.27 kB / 261.4 MB, free: 13.54 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.1527/0.1527, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.603e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.203, allocations: 58.85 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3154, allocations: 101.5 MB / 0.5646 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3157, allocations: 75.97 kB / 0.5646 GB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3284/0.6441, allocations: 83.9 MB / 0.6466 GB, free: 111.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.959e-05/0.6442, allocations: 67.16 kB / 0.6466 GB, free: 111.3 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.004564/0.6488, allocations: 3.617 MB / 0.6502 GB, free: 109.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.6488, allocations: 7.75 kB / 0.6502 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.6596, allocations: 2.803 MB / 0.6529 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007595/0.6673, allocations: 4.218 MB / 0.657 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.6674, allocations: 127.2 kB / 0.6571 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005973/0.668, allocations: 227.8 kB / 0.6574 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007427/0.6754, allocations: 7.441 MB / 0.6646 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009514/0.6849, allocations: 9.661 MB / 0.6741 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.353e-05/0.685, allocations: 33.28 kB / 0.6741 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.6855, allocations: 10.69 kB / 0.6741 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.6866, allocations: 1.28 MB / 0.6754 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.7226, allocations: 33.45 MB / 0.708 GB, free: 87.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.7264, allocations: 4.284 MB / 0.7122 GB, free: 85.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.7287, allocations: 2.388 MB / 0.7145 GB, free: 84.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.7405, allocations: 10.13 MB / 0.7244 GB, free: 75.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.7406, allocations: 47.81 kB / 0.7245 GB, free: 75.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=186): time 5.791e-06/0.7406, allocations: 4 kB / 0.7245 GB, free: 75.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=201): time 0.01947/0.7601, allocations: 11.88 MB / 0.7361 GB, free: 65.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.7601, allocations: 80.66 kB / 0.7362 GB, free: 65.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.7639, allocations: 2.499 MB / 0.7386 GB, free: 63.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.7641, allocations: 30.58 kB / 0.7386 GB, free: 63.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.7654, allocations: 2.806 MB / 0.7414 GB, free: 60.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.766, allocations: 0.7314 MB / 0.7421 GB, free: 59.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.7663, allocations: 0 / 0.7421 GB, free: 59.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003408/0.7666, allocations: 0.6003 MB / 0.7427 GB, free: 59.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.769, allocations: 2.198 MB / 0.7448 GB, free: 57.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.7723, allocations: 5.34 MB / 0.75 GB, free: 50.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.7759, allocations: 3.468 MB / 0.7534 GB, free: 47.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/0.776, allocations: 32 kB / 0.7534 GB, free: 47.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.009851/0.7858, allocations: 7.511 MB / 0.7608 GB, free: 40.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7859, allocations: 4 kB / 0.7608 GB, free: 40.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-05/0.786, allocations: 112 kB / 0.7609 GB, free: 40.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.7879, allocations: 0.7594 MB / 0.7616 GB, free: 39.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.7914, allocations: 1.263 MB / 0.7629 GB, free: 38.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.7954, allocations: 3.934 MB / 0.7667 GB, free: 34.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/0.7988, allocations: 159.9 kB / 0.7669 GB, free: 34.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.7994, allocations: 332 kB / 0.7672 GB, free: 33.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (683): * Single equations (assignments): 676 * Array equations: 6 * 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 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005767/0.8, allocations: 388 kB / 0.7676 GB, free: 33.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.8003, allocations: 260.5 kB / 0.7678 GB, free: 33.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/0.8059, allocations: 4.173 MB / 0.7719 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.407e-05/0.806, allocations: 39.98 kB / 0.7719 GB, free: 29.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.806, allocations: 0 / 0.7719 GB, free: 29.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.806, allocations: 11.91 kB / 0.7719 GB, free: 29.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.8175, allocations: 8.096 MB / 0.7798 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8175, allocations: 0 / 0.7798 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.8188, allocations: 279.6 kB / 0.7801 GB, free: 20.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.8207, allocations: 0.582 MB / 0.7807 GB, free: 20.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.8208, allocations: 7.984 kB / 0.7807 GB, free: 20.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.8243, allocations: 3.423 MB / 0.784 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8244, allocations: 0 / 0.784 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007476/0.8319, allocations: 6.382 MB / 0.7902 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.8331, allocations: 0.6225 MB / 0.7909 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/0.8335, allocations: 0 / 0.7909 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8345, allocations: 63.53 kB / 0.7909 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.8347, allocations: 77.28 kB / 0.791 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.8349, allocations: 43.94 kB / 0.791 GB, free: 9.277 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00181/0.8367, allocations: 1.65 MB / 0.7926 GB, free: 7.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003106/0.8398, allocations: 0.8281 MB / 0.7935 GB, free: 6.789 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.8401, allocations: 142.2 kB / 0.7936 GB, free: 6.648 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004905/0.845, allocations: 5.164 MB / 0.7986 GB, free: 1.492 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.845, allocations: 8.062 kB / 0.7986 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.8468, allocations: 1.806 MB / 0.8004 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.8475, allocations: 200.1 kB / 0.8006 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.8594, allocations: 7.601 MB / 0.808 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004029/0.8635, allocations: 3.55 MB / 0.8115 GB, free: 4.242 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.8635, allocations: 0 / 0.8115 GB, free: 4.242 MB / 490.7 MB Notification: Performance of Templates: time 0.1601/1.024, allocations: 33.36 MB / 0.8441 GB, free: 175.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches