Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") [: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 trunk/package.mo): time 0.001058/0.001058, allocations: 208 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008604/0.0008605, allocations: 90.72 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.692e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4964, allocations: 109.2 MB / 0.6104 GB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4968, allocations: 77.83 kB / 0.6105 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3757/0.8726, allocations: 140.5 MB / 0.7476 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007748/0.8734, allocations: 147.9 kB / 0.7478 GB, free: 5.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.2369/1.11, allocations: 6.911 MB / 0.7545 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.11, allocations: 8.531 kB / 0.7545 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03467/1.145, allocations: 9.105 MB / 0.7634 GB, free: 164 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/1.163, allocations: 7.664 MB / 0.7709 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/1.163, allocations: 226.4 kB / 0.7711 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/1.166, allocations: 421.5 kB / 0.7715 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01547/1.181, allocations: 9.667 MB / 0.781 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/1.207, allocations: 15.03 MB / 0.7957 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/1.208, allocations: 107.6 kB / 0.7958 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/1.209, allocations: 46.22 kB / 0.7958 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/1.21, allocations: 1.604 MB / 0.7974 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07144/1.282, allocations: 74.46 MB / 0.8701 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/1.288, allocations: 5.472 MB / 0.8754 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/1.293, allocations: 3.816 MB / 0.8791 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/1.308, allocations: 10.41 MB / 0.8893 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/1.308, allocations: 58.28 kB / 0.8894 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=223): time 6.482e-06/1.308, allocations: 0 / 0.8894 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.04891/1.357, allocations: 27.1 MB / 0.9158 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/1.357, allocations: 290.8 kB / 0.9161 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007726/1.365, allocations: 4.921 MB / 0.9209 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005574/1.366, allocations: 25.7 kB / 0.9209 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.368, allocations: 4.548 MB / 0.9254 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.369, allocations: 0.9795 MB / 0.9263 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.369, allocations: 0 / 0.9263 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003408/1.369, allocations: 0.6752 MB / 0.927 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/1.373, allocations: 2.983 MB / 0.9299 GB, free: 58.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005237/1.378, allocations: 8.323 MB / 0.938 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/1.384, allocations: 4.96 MB / 0.9429 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/1.384, allocations: 52 kB / 0.9429 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.02066/1.405, allocations: 11.07 MB / 0.9537 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.405, allocations: 7.031 kB / 0.9538 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/1.405, allocations: 194.1 kB / 0.9539 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/1.409, allocations: 1.331 MB / 0.9552 GB, free: 33.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00717/1.416, allocations: 1.995 MB / 0.9572 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/1.429, allocations: 10.45 MB / 0.9674 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008293/1.437, allocations: 279.5 kB / 0.9677 GB, free: 21.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/1.44, allocations: 0.5312 MB / 0.9682 GB, free: 20.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1064): * Single equations (assignments): 1058 * 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 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00299/1.443, allocations: 0.5824 MB / 0.9687 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/1.444, allocations: 0.5052 MB / 0.9692 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009727/1.454, allocations: 5.068 MB / 0.9742 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.599e-05/1.454, allocations: 28 kB / 0.9742 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/1.454, allocations: 10.06 kB / 0.9742 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/1.454, allocations: 11.95 kB / 0.9742 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.482, allocations: 11.41 MB / 0.9854 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/1.482, allocations: 7.906 kB / 0.9854 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/1.484, allocations: 391.5 kB / 0.9858 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.487, allocations: 1.006 MB / 0.9867 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/1.487, allocations: 12 kB / 0.9868 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2738/1.761, allocations: 9.423 MB / 0.996 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.761, allocations: 4.656 kB / 0.996 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01143/1.773, allocations: 8.826 MB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.775, allocations: 0.5294 MB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/1.776, allocations: 11.41 kB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.778, allocations: 68.81 kB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.778, allocations: 117.6 kB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.778, allocations: 67.61 kB / 1.005 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005795/1.784, allocations: 3.335 MB / 1.009 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009327/1.793, allocations: 1.359 MB / 1.01 GB, free: 143.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 195 * 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%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007046/1.794, allocations: 156.1 kB / 1.01 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.806, allocations: 7.478 MB / 1.017 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.806, allocations: 3.25 kB / 1.017 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/1.81, allocations: 2.622 MB / 1.02 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.814, allocations: 0.6371 MB / 1.021 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.84, allocations: 12.57 MB / 1.033 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008752/1.849, allocations: 5.552 MB / 1.038 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/1.849, allocations: 0 / 1.038 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.108/1.957, allocations: 57.88 MB / 1.095 GB, free: 123.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches