Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") [: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.0009008/0.0009008, allocations: 188.7 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, 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.0007656/0.0007655, allocations: 93.48 kB / 261.4 MB, free: 13.53 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.15/0.15, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 58.83 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3277, allocations: 105 MB / 0.5679 GB, free: 9.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.328, allocations: 71.97 kB / 0.568 GB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4546/0.7826, allocations: 133.3 MB / 0.6981 GB, free: 100.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005419/0.7832, allocations: 143.7 kB / 0.6983 GB, free: 100.2 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.01951/0.8027, allocations: 6.569 MB / 0.7047 GB, free: 95.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.8028, allocations: 9.844 kB / 0.7047 GB, free: 95.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03363/0.8364, allocations: 9.093 MB / 0.7136 GB, free: 90.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.856, allocations: 8.841 MB / 0.7222 GB, free: 83.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.8563, allocations: 220 kB / 0.7224 GB, free: 82.92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.8589, allocations: 407.8 kB / 0.7228 GB, free: 82.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01462/0.8735, allocations: 9.388 MB / 0.732 GB, free: 73.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02462/0.8982, allocations: 14.41 MB / 0.7461 GB, free: 57.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.8985, allocations: 91.12 kB / 0.7461 GB, free: 57.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.8996, allocations: 51.97 kB / 0.7462 GB, free: 57.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.9012, allocations: 1.569 MB / 0.7477 GB, free: 55.56 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.9582, allocations: 69.37 MB / 0.8155 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005704/0.964, allocations: 5.038 MB / 0.8204 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.9676, allocations: 3.394 MB / 0.8237 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1381/1.106, allocations: 9.644 MB / 0.8331 GB, free: 168 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.106, allocations: 57.91 kB / 0.8332 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 4.809e-06/1.106, allocations: 2.531 kB / 0.8332 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.03525/1.141, allocations: 22.75 MB / 0.8554 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/1.141, allocations: 262.5 kB / 0.8556 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005259/1.146, allocations: 4.885 MB / 0.8604 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.147, allocations: 26.48 kB / 0.8604 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/1.148, allocations: 4.47 MB / 0.8648 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/1.149, allocations: 0.9685 MB / 0.8657 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/1.149, allocations: 0 / 0.8657 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003182/1.149, allocations: 0.6687 MB / 0.8664 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.152, allocations: 2.755 MB / 0.8691 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004539/1.157, allocations: 8.048 MB / 0.877 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/1.161, allocations: 4.709 MB / 0.8815 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.434e-05/1.162, allocations: 52.78 kB / 0.8816 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.01365/1.175, allocations: 10.14 MB / 0.8915 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.175, allocations: 3.969 kB / 0.8915 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.175, allocations: 199.3 kB / 0.8917 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.177, allocations: 0.813 MB / 0.8925 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005468/1.182, allocations: 1.959 MB / 0.8944 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/1.19, allocations: 7.846 MB / 0.9021 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00642/1.196, allocations: 269 kB / 0.9023 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000844/1.197, allocations: 0.521 MB / 0.9028 GB, free: 141.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1065): * Single equations (assignments): 1059 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009342/1.198, allocations: 0.5697 MB / 0.9034 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005815/1.199, allocations: 0.5014 MB / 0.9039 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/1.204, allocations: 4.162 MB / 0.9079 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.205, allocations: 24.72 kB / 0.908 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.205, allocations: 13.72 kB / 0.908 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.205, allocations: 13.5 kB / 0.908 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.218, allocations: 9.752 MB / 0.9175 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.218, allocations: 3.094 kB / 0.9175 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.22, allocations: 387.9 kB / 0.9179 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/1.222, allocations: 0.4987 MB / 0.9184 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.222, allocations: 21.94 kB / 0.9184 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/1.227, allocations: 6.909 MB / 0.9251 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.227, allocations: 0 / 0.9251 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007587/1.235, allocations: 7.521 MB / 0.9325 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.236, allocations: 0.868 MB / 0.9333 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006774/1.237, allocations: 4 kB / 0.9333 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.239, allocations: 84.03 kB / 0.9334 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.239, allocations: 113.5 kB / 0.9335 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.239, allocations: 71.7 kB / 0.9336 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004196/1.244, allocations: 3.332 MB / 0.9368 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006126/1.25, allocations: 1.291 MB / 0.9381 GB, free: 115.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 205 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003913/1.25, allocations: 158.7 kB / 0.9383 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007614/1.258, allocations: 6.838 MB / 0.9449 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.258, allocations: 8 kB / 0.9449 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/1.26, allocations: 2.27 MB / 0.9472 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.263, allocations: 0.5801 MB / 0.9477 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.281, allocations: 11.97 MB / 0.9594 GB, free: 95.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005971/1.287, allocations: 5.449 MB / 0.9647 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/1.287, allocations: 3.75 kB / 0.9647 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.08143/1.368, allocations: 53.57 MB / 1.017 GB, free: 43.85 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches