Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007257/0.007258, allocations: 99.86 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 191.9 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.7 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4155/0.4155, allocations: 43.5 MB / 313.5 MB, free: 8.227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 67.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1712, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3623/0.5335, allocations: 89.62 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0555/0.589, allocations: 17.37 MB / 0.534 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02968/0.6188, allocations: 381.6 kB / 0.5344 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.632, allocations: 4.559 MB / 0.5388 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.644, allocations: 2.42 MB / 0.5412 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004574/0.6486, allocations: 1.083 MB / 0.5422 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01644/0.665, allocations: 9.679 MB / 0.5517 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.6764, allocations: 5.782 MB / 0.5573 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.6828, allocations: 2.215 MB / 0.5595 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00814/0.691, allocations: 3.614 MB / 0.563 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002818/0.6938, allocations: 404 kB / 0.5634 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.6995, allocations: 1.482 MB / 0.5649 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006708/0.7063, allocations: 2.98 MB / 0.5678 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008852/0.7152, allocations: 3.44 MB / 0.5711 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.7352, allocations: 10.9 MB / 0.5818 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.7353, allocations: 0 / 0.5818 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7353, allocations: 4 kB / 0.5818 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000634/0.7359, allocations: 4 kB / 0.5818 GB, free: 15.7 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02693/0.7629, allocations: 7.56 MB / 0.5892 GB, free: 8.059 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.763, allocations: 8.031 kB / 0.5892 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.7776, allocations: 2.784 MB / 0.5919 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.79, allocations: 4.28 MB / 0.5961 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/0.7907, allocations: 385.7 kB / 0.5964 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.793, allocations: 0.4996 MB / 0.5969 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/0.8297, allocations: 16.41 MB / 0.6129 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.8299, allocations: 63.38 kB / 0.613 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007102/0.8307, allocations: 235.8 kB / 0.6132 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005757/0.8364, allocations: 3.162 MB / 0.6163 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3388/1.175, allocations: 14.26 MB / 0.6302 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0839/1.259, allocations: 59.12 MB / 0.688 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/1.279, allocations: 7.175 MB / 0.695 GB, free: 97.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00756/1.286, allocations: 4.496 MB / 0.6994 GB, free: 95.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/1.31, allocations: 15.43 MB / 0.7144 GB, free: 87.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/1.31, allocations: 70.03 kB / 0.7145 GB, free: 87.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.292e-06/1.31, allocations: 5.344 kB / 0.7145 GB, free: 87.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.09138/1.402, allocations: 32.81 MB / 0.7466 GB, free: 54.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.402, allocations: 218.2 kB / 0.7468 GB, free: 54.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/1.409, allocations: 5.352 MB / 0.752 GB, free: 49.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001051/1.41, allocations: 81.7 kB / 0.7521 GB, free: 49.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.413, allocations: 4.331 MB / 0.7563 GB, free: 44.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/1.414, allocations: 1.28 MB / 0.7576 GB, free: 43.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002112/1.417, allocations: 1.717 MB / 0.7592 GB, free: 41.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.562e-05/1.417, allocations: 305.1 kB / 0.7595 GB, free: 41.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/1.422, allocations: 3.924 MB / 0.7634 GB, free: 37.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007111/1.429, allocations: 8.416 MB / 0.7716 GB, free: 26.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.445, allocations: 13.24 MB / 0.7845 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/1.445, allocations: 46.72 kB / 0.7846 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03302/1.478, allocations: 14.26 MB / 0.7985 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/1.479, allocations: 72 kB / 0.7986 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005634/1.479, allocations: 152 kB / 0.7987 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007238/1.487, allocations: 2.261 MB / 0.8009 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009268/1.496, allocations: 1.989 MB / 0.8028 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/1.518, allocations: 13.49 MB / 0.816 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/1.528, allocations: 0.5032 MB / 0.8165 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002545/1.531, allocations: 483.9 kB / 0.817 GB, free: 9.887 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1032): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009738/1.541, allocations: 3.087 MB / 0.82 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002801/1.543, allocations: 0.4936 MB / 0.8205 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3692/1.913, allocations: 8.392 MB / 0.8287 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/1.913, allocations: 36.78 kB / 0.8287 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/1.913, allocations: 14.84 kB / 0.8287 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/1.913, allocations: 17.11 kB / 0.8287 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03064/1.944, allocations: 17.16 MB / 0.8455 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.944, allocations: 0 / 0.8455 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.947, allocations: 0.618 MB / 0.8461 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/1.952, allocations: 2.035 MB / 0.8481 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007483/1.953, allocations: 58.88 kB / 0.8481 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/1.972, allocations: 12.72 MB / 0.8605 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.972, allocations: 6.203 kB / 0.8606 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/1.997, allocations: 13.15 MB / 0.8734 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003667/2.001, allocations: 1.13 MB / 0.8745 GB, free: 143.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/2.002, allocations: 61.78 kB / 0.8746 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/2.005, allocations: 256.3 kB / 0.8748 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007166/2.006, allocations: 201.9 kB / 0.875 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/2.006, allocations: 89.91 kB / 0.8751 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00532/2.011, allocations: 3.365 MB / 0.8784 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/2.011, allocations: 0 / 0.8784 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009589/2.021, allocations: 1.691 MB / 0.88 GB, free: 142.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009983/2.022, allocations: 207.7 kB / 0.8802 GB, free: 142 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01424/2.036, allocations: 9.521 MB / 0.8895 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.036, allocations: 4 kB / 0.8895 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006152/2.042, allocations: 4.105 MB / 0.8935 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/2.048, allocations: 0.6359 MB / 0.8942 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/2.079, allocations: 19.09 MB / 0.9128 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00549/2.085, allocations: 4.798 MB / 0.9175 GB, free: 110 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006597/2.091, allocations: 2.645 MB / 0.9201 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/2.093, allocations: 375.3 kB / 0.9204 GB, free: 107 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/2.093, allocations: 0 / 0.9204 GB, free: 107 MB / 0.5137 GB Notification: Performance of Templates: time 0.1007/2.194, allocations: 67.48 MB / 0.9863 GB, free: 39.62 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches