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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.264/2.264, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4209/0.4209, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 78.16 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2072, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.5854/0.7927, allocations: 108 MB / 0.5742 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0853/0.878, allocations: 20.38 MB / 0.5941 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03923/0.9173, allocations: 478.8 kB / 0.5945 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01899/0.9364, allocations: 6.297 MB / 0.6007 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.9511, allocations: 2.721 MB / 0.6033 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006938/0.9581, allocations: 1.49 MB / 0.6048 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03244/0.9906, allocations: 14.09 MB / 0.6186 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02137/1.012, allocations: 7.87 MB / 0.6262 GB, free: 1.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/1.022, allocations: 2.757 MB / 0.6289 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/1.033, allocations: 4.51 MB / 0.6333 GB, free: 9.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004063/1.038, allocations: 488 kB / 0.6338 GB, free: 9.492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007743/1.045, allocations: 1.564 MB / 0.6353 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008537/1.054, allocations: 3.655 MB / 0.6389 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01309/1.067, allocations: 3.993 MB / 0.6428 GB, free: 252 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02082/1.088, allocations: 10.31 MB / 0.6529 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.088, allocations: 0 / 0.6529 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/1.088, allocations: 0 / 0.6529 GB, free: 5.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000609/1.089, allocations: 0 / 0.6529 GB, free: 5.914 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2485 * Number of variables: 2485 Notification: Performance of Generate backend data structure: time 0.04271/1.131, allocations: 9.007 MB / 0.6617 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/1.132, allocations: 12.88 kB / 0.6617 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03202/1.164, allocations: 3.481 MB / 0.6651 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/1.189, allocations: 5.897 MB / 0.6708 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007341/1.19, allocations: 447.9 kB / 0.6713 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/1.194, allocations: 0.5858 MB / 0.6718 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06788/1.262, allocations: 17.09 MB / 0.6885 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008694/1.263, allocations: 87.2 kB / 0.6886 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/1.268, allocations: 271.9 kB / 0.6889 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0102/1.278, allocations: 2.897 MB / 0.6917 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8517/2.13, allocations: 14.31 MB / 0.7057 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/2.271, allocations: 64.6 MB / 0.7688 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03084/2.302, allocations: 6.672 MB / 0.7753 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008367/2.311, allocations: 3.955 MB / 0.7791 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/2.312, allocations: 0.6511 MB / 0.7798 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/2.312, allocations: 71.47 kB / 0.7798 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=239): time 1.25e-05/2.312, allocations: 4 kB / 0.7798 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=263): time 0.1553/2.467, allocations: 31.41 MB / 0.8105 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/2.468, allocations: 287 kB / 0.8108 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0237/2.491, allocations: 7.27 MB / 0.8179 GB, free: 83.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/2.493, allocations: 69.64 kB / 0.818 GB, free: 83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006224/2.499, allocations: 5.045 MB / 0.8229 GB, free: 77.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002674/2.502, allocations: 1.03 MB / 0.8239 GB, free: 76.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008726/2.51, allocations: 1.855 MB / 0.8257 GB, free: 75.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/2.511, allocations: 305.1 kB / 0.826 GB, free: 74.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009875/2.52, allocations: 3.465 MB / 0.8294 GB, free: 71.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/2.535, allocations: 8.656 MB / 0.8378 GB, free: 60.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02306/2.558, allocations: 12.93 MB / 0.8505 GB, free: 44.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003833/2.559, allocations: 52 kB / 0.8505 GB, free: 44.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04605/2.605, allocations: 13.9 MB / 0.8641 GB, free: 30.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004546/2.605, allocations: 84 kB / 0.8642 GB, free: 30.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005595/2.606, allocations: 180.9 kB / 0.8643 GB, free: 30.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/2.616, allocations: 2.275 MB / 0.8666 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01277/2.629, allocations: 2.078 MB / 0.8686 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/2.658, allocations: 15.31 MB / 0.8835 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/2.673, allocations: 0.5031 MB / 0.884 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003127/2.676, allocations: 0.5195 MB / 0.8845 GB, free: 9.184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.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.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.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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1096): * Single equations (assignments): 1089 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (1,13,100.0%), (2,12,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01259/2.689, allocations: 3.405 MB / 0.8879 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/2.692, allocations: 0.6093 MB / 0.8885 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/2.715, allocations: 6.535 MB / 0.8948 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.975e-05/2.715, allocations: 28 kB / 0.8949 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.375e-05/2.716, allocations: 8 kB / 0.8949 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.854e-05/2.716, allocations: 11.95 kB / 0.8949 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06134/2.777, allocations: 14.46 MB / 0.909 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-05/2.777, allocations: 0 / 0.909 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5079/3.285, allocations: 453.5 kB / 0.9094 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01126/3.296, allocations: 1.965 MB / 0.9114 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/3.298, allocations: 44.88 kB / 0.9114 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/3.331, allocations: 14.17 MB / 0.9252 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/3.331, allocations: 1.188 kB / 0.9252 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03365/3.365, allocations: 10.3 MB / 0.9353 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/3.369, allocations: 0.6752 MB / 0.9359 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003882/3.372, allocations: 39.84 kB / 0.936 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007245/3.38, allocations: 184.6 kB / 0.9362 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/3.382, allocations: 158.7 kB / 0.9363 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001008/3.383, allocations: 66.06 kB / 0.9364 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01611/3.399, allocations: 4.633 MB / 0.9409 GB, free: 165.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.91e-07/3.399, allocations: 0 / 0.9409 GB, free: 165.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01768/3.417, allocations: 1.734 MB / 0.9426 GB, free: 165.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (207): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/3.418, allocations: 186.5 kB / 0.9428 GB, free: 165.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02414/3.443, allocations: 8.527 MB / 0.9511 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.927e-05/3.443, allocations: 0 / 0.9511 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008626/3.451, allocations: 3.007 MB / 0.954 GB, free: 159.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/3.467, allocations: 0.8539 MB / 0.9549 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06386/3.53, allocations: 20.28 MB / 0.9747 GB, free: 140.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01648/3.547, allocations: 5.173 MB / 0.9797 GB, free: 135.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003368/3.55, allocations: 451.4 kB / 0.9802 GB, free: 134.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.134e-06/3.55, allocations: 0 / 0.9802 GB, free: 134.9 MB / 0.545 GB Notification: Performance of Templates: time 0.8439/4.394, allocations: 223.7 MB / 1.199 GB, free: 125.6 MB / 0.5607 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches