Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") [: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.001079/0.001079, allocations: 204 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009273/0.0009273, allocations: 97.16 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1752/0.1752, allocations: 45.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.362e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4514, allocations: 107 MB / 0.6083 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4517, allocations: 74.03 kB / 0.6084 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6118/1.063, allocations: 156 MB / 0.7607 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004795/1.064, allocations: 154.6 kB / 0.7609 GB, free: 100.7 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02342/1.087, allocations: 7.628 MB / 0.7683 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.088, allocations: 10.59 kB / 0.7683 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0425/1.13, allocations: 11.5 MB / 0.7795 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/1.154, allocations: 9.139 MB / 0.7885 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/1.155, allocations: 249 kB / 0.7887 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/1.158, allocations: 469 kB / 0.7892 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02012/1.178, allocations: 10.51 MB / 0.7994 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/1.208, allocations: 15.81 MB / 0.8149 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/1.209, allocations: 107.1 kB / 0.815 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.21, allocations: 42.16 kB / 0.815 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/1.211, allocations: 1.7 MB / 0.8167 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08244/1.294, allocations: 74.76 MB / 0.8897 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/1.302, allocations: 5.707 MB / 0.8952 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004229/1.306, allocations: 4.004 MB / 0.8991 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/1.325, allocations: 12.53 MB / 0.9114 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.325, allocations: 63.92 kB / 0.9114 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=233): time 4.429e-06/1.325, allocations: 3.938 kB / 0.9114 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=261): time 0.05315/1.379, allocations: 27.96 MB / 0.9387 GB, free: 52 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/1.379, allocations: 288.5 kB / 0.939 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009157/1.388, allocations: 5.189 MB / 0.9441 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006302/1.389, allocations: 29.7 kB / 0.9441 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.392, allocations: 4.793 MB / 0.9488 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.394, allocations: 0.9789 MB / 0.9498 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/1.394, allocations: 0 / 0.9498 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004927/1.395, allocations: 0.678 MB / 0.9504 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/1.399, allocations: 2.821 MB / 0.9532 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2075/1.607, allocations: 8.141 MB / 0.9611 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007404/1.614, allocations: 4.776 MB / 0.9658 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/1.614, allocations: 54.56 kB / 0.9658 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02143/1.636, allocations: 10.48 MB / 0.9761 GB, free: 158 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.636, allocations: 5.156 kB / 0.9761 GB, free: 158 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/1.636, allocations: 189.2 kB / 0.9763 GB, free: 158 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/1.639, allocations: 0.996 MB / 0.9772 GB, free: 158 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007207/1.646, allocations: 1.96 MB / 0.9791 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.656, allocations: 10.37 MB / 0.9893 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/1.664, allocations: 261.6 kB / 0.9895 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/1.666, allocations: 0.5269 MB / 0.99 GB, free: 152.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1062): * Single equations (assignments): 1055 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001899/1.668, allocations: 0.5806 MB / 0.9906 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.669, allocations: 0.5433 MB / 0.9911 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/1.676, allocations: 4.484 MB / 0.9955 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.128e-05/1.677, allocations: 25.31 kB / 0.9955 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.677, allocations: 10.16 kB / 0.9955 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/1.677, allocations: 14.44 kB / 0.9956 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/1.7, allocations: 10.88 MB / 1.006 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.7, allocations: 3.531 kB / 1.006 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.702, allocations: 372.5 kB / 1.007 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/1.704, allocations: 0.6636 MB / 1.007 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.704, allocations: 18.47 kB / 1.007 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00822/1.712, allocations: 9.239 MB / 1.016 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.712, allocations: 2.766 kB / 1.016 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01027/1.723, allocations: 7.888 MB / 1.024 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.724, allocations: 0.5549 MB / 1.024 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008656/1.725, allocations: 3.219 kB / 1.024 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.727, allocations: 82.69 kB / 1.025 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/1.728, allocations: 121.5 kB / 1.025 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.728, allocations: 67.34 kB / 1.025 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005418/1.733, allocations: 3.558 MB / 1.028 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009456/1.743, allocations: 1.409 MB / 1.03 GB, free: 145.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (205): * Single equations (assignments): 198 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(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.000604/1.743, allocations: 159.5 kB / 1.03 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.754, allocations: 7.094 MB / 1.037 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.754, allocations: 0 / 1.037 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.757, allocations: 2.436 MB / 1.039 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.761, allocations: 0.7328 MB / 1.04 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.787, allocations: 13.12 MB / 1.053 GB, free: 137 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008563/1.796, allocations: 5.957 MB / 1.058 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/1.796, allocations: 0 / 1.058 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1074/1.903, allocations: 58.34 MB / 1.115 GB, free: 94.62 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches