Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 200.3 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 226.6 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007068/0.000707, allocations: 98.7 kB / 295.1 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002578/0.0002579, allocations: 8 kB / 464.7 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1009, allocations: 62.95 MB / 0.5153 GB, free: 5.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2427/0.3436, allocations: 65.66 MB / 0.5794 GB, free: 7.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02987/0.3736, allocations: 13.75 MB / 0.5929 GB, free: 14.37 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/0.3876, allocations: 311.7 kB / 0.5932 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.3978, allocations: 3.47 MB / 0.5966 GB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02591/0.4237, allocations: 10.2 MB / 0.6065 GB, free: 5.129 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.4276, allocations: 0.7849 MB / 0.6073 GB, free: 4.629 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07198/0.4996, allocations: 62.06 MB / 0.6679 GB, free: 6.551 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00853/0.5082, allocations: 5.399 MB / 0.6732 GB, free: 1.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.5116, allocations: 1.603 MB / 0.6747 GB, free: 15.48 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.5158, allocations: 2.461 MB / 0.6771 GB, free: 13.01 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.5169, allocations: 172 kB / 0.6773 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.5198, allocations: 1.073 MB / 0.6783 GB, free: 11.77 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002844/0.5226, allocations: 2.193 MB / 0.6805 GB, free: 9.57 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.5244, allocations: 1.026 MB / 0.6815 GB, free: 8.535 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.5318, allocations: 6.819 MB / 0.6881 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5318, allocations: 0 / 0.6881 GB, free: 1.699 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5318, allocations: 0 / 0.6881 GB, free: 1.699 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003019/0.5321, allocations: 0 / 0.6881 GB, free: 1.699 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01162/0.5438, allocations: 5.147 MB / 0.6932 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5438, allocations: 8.031 kB / 0.6932 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.5553, allocations: 2.652 MB / 0.6958 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008644/0.5639, allocations: 3.637 MB / 0.6993 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.5643, allocations: 283.3 kB / 0.6996 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.5657, allocations: 383.6 kB / 0.7 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.5866, allocations: 11.97 MB / 0.7116 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/0.5868, allocations: 55.53 kB / 0.7117 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000937/0.5877, allocations: 179.8 kB / 0.7119 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003564/0.5913, allocations: 2.268 MB / 0.7141 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.6094, allocations: 9.911 MB / 0.7238 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2748/0.8843, allocations: 46.68 MB / 0.7694 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009794/0.8941, allocations: 3.926 MB / 0.7732 GB, free: 155 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.8969, allocations: 2.156 MB / 0.7753 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009391/0.9063, allocations: 6.538 MB / 0.7817 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.9063, allocations: 49.62 kB / 0.7817 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 3.697e-06/0.9064, allocations: 2.75 kB / 0.7817 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=166): time 0.03883/0.9452, allocations: 16.55 MB / 0.7979 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.9453, allocations: 197.7 kB / 0.7981 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00641/0.9517, allocations: 5.644 MB / 0.8036 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.952, allocations: 48.38 kB / 0.8036 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.9536, allocations: 3.783 MB / 0.8073 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.9541, allocations: 0.6665 MB / 0.808 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.9543, allocations: 140.7 kB / 0.8081 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.9546, allocations: 0.6034 MB / 0.8087 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/0.9572, allocations: 2.291 MB / 0.8109 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/0.9609, allocations: 6.598 MB / 0.8174 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.9649, allocations: 3.804 MB / 0.8211 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.131e-05/0.9649, allocations: 44 kB / 0.8211 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01218/0.9771, allocations: 9.608 MB / 0.8305 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.9772, allocations: 68 kB / 0.8306 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.572e-05/0.9773, allocations: 157 kB / 0.8307 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.9799, allocations: 1.245 MB / 0.832 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/0.9839, allocations: 1.579 MB / 0.8335 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/0.9909, allocations: 7.746 MB / 0.8411 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/0.9957, allocations: 369.1 kB / 0.8414 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008541/0.9966, allocations: 428 kB / 0.8418 GB, free: 99.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (848): * Single equations (assignments): 841 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003853/1, allocations: 2.522 MB / 0.8443 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008237/1.001, allocations: 465.7 kB / 0.8447 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/1.007, allocations: 3.421 MB / 0.8481 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.007, allocations: 20 kB / 0.8481 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.007, allocations: 7.938 kB / 0.8481 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.007, allocations: 11.97 kB / 0.8481 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.022, allocations: 8.286 MB / 0.8562 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.022, allocations: 4.281 kB / 0.8562 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.023, allocations: 295.5 kB / 0.8565 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/1.026, allocations: 0.9913 MB / 0.8575 GB, free: 83.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.026, allocations: 35.98 kB / 0.8575 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006728/1.032, allocations: 7.086 MB / 0.8644 GB, free: 76.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.032, allocations: 7.938 kB / 0.8644 GB, free: 76.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/1.04, allocations: 5.859 MB / 0.8701 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.042, allocations: 0.5341 MB / 0.8707 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.043, allocations: 35.5 kB / 0.8707 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.045, allocations: 87.89 kB / 0.8708 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/1.045, allocations: 100.8 kB / 0.8709 GB, free: 69.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.045, allocations: 47.95 kB / 0.8709 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005391/1.05, allocations: 3.589 MB / 0.8744 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/1.05, allocations: 4 kB / 0.8744 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005789/1.056, allocations: 1.179 MB / 0.8756 GB, free: 64.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0004825/1.057, allocations: 166.8 kB / 0.8757 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007487/1.064, allocations: 5.58 MB / 0.8812 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.064, allocations: 0 / 0.8812 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.066, allocations: 1.621 MB / 0.8828 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.07, allocations: 0.5883 MB / 0.8833 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.091, allocations: 13.38 MB / 0.8964 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004874/1.095, allocations: 3.837 MB / 0.9002 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.097, allocations: 339.4 kB / 0.9005 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/1.097, allocations: 0 / 0.9005 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.3047/1.401, allocations: 113.7 MB / 1.011 GB, free: 150.3 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches