Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004493/0.004492, allocations: 101 kB / 15.87 MB, free: 6.309 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.001091/0.001091, allocations: 193.8 kB / 16.79 MB, free: 6.238 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.37/1.37, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3194/0.3194, allocations: 43.5 MB / 313.5 MB, free: 8.59 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.001394/0.001394, allocations: 63.91 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 57.77 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2625/0.3916, allocations: 73.2 MB / 0.5011 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03526/0.4269, allocations: 14.49 MB / 0.5152 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/0.4431, allocations: 315.9 kB / 0.5155 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008172/0.4513, allocations: 3.749 MB / 0.5192 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008023/0.4595, allocations: 2.236 MB / 0.5214 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.4623, allocations: 0.9228 MB / 0.5223 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.4743, allocations: 8.573 MB / 0.5307 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005332/0.4797, allocations: 4.611 MB / 0.5352 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.4825, allocations: 1.853 MB / 0.537 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.4859, allocations: 3.018 MB / 0.5399 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.4865, allocations: 308 kB / 0.5402 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.4891, allocations: 1.428 MB / 0.5416 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.4912, allocations: 2.536 MB / 0.5441 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.4939, allocations: 2.877 MB / 0.5469 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007914/0.5018, allocations: 9.127 MB / 0.5558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5018, allocations: 0 / 0.5558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5018, allocations: 0 / 0.5558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.502, allocations: 0 / 0.5558 GB, free: 10.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01169/0.5137, allocations: 6.577 MB / 0.5622 GB, free: 3.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5137, allocations: 16.03 kB / 0.5622 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009751/0.5147, allocations: 0.8932 MB / 0.5631 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0338/0.5485, allocations: 6.117 MB / 0.5691 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009242/0.5578, allocations: 4.731 MB / 0.5737 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.558, allocations: 296 kB / 0.574 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007732/0.5588, allocations: 411.5 kB / 0.5744 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.576, allocations: 12.49 MB / 0.5866 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.5762, allocations: 51.53 kB / 0.5866 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.5766, allocations: 187.8 kB / 0.5868 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/0.5801, allocations: 2.409 MB / 0.5892 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.5996, allocations: 10.29 MB / 0.5992 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2388/0.8384, allocations: 48.37 MB / 0.6464 GB, free: 110.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009954/0.8484, allocations: 4.669 MB / 0.651 GB, free: 109.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.8511, allocations: 2.318 MB / 0.6533 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009843/0.8609, allocations: 6.899 MB / 0.66 GB, free: 106.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.861, allocations: 57.17 kB / 0.6601 GB, free: 106.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.57e-06/0.861, allocations: 3.062 kB / 0.6601 GB, free: 106.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.03921/0.9002, allocations: 16.17 MB / 0.6758 GB, free: 99.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.9004, allocations: 202 kB / 0.676 GB, free: 99.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/0.9107, allocations: 5.864 MB / 0.6818 GB, free: 97.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004864/0.9112, allocations: 59.31 kB / 0.6818 GB, free: 97.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.9141, allocations: 3.999 MB / 0.6857 GB, free: 94.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.9151, allocations: 0.755 MB / 0.6865 GB, free: 94.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/0.9171, allocations: 1.439 MB / 0.6879 GB, free: 93.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.9171, allocations: 302.5 kB / 0.6882 GB, free: 93.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.9206, allocations: 2.381 MB / 0.6905 GB, free: 92.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/0.9248, allocations: 6.809 MB / 0.6971 GB, free: 85.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/0.9325, allocations: 9.947 MB / 0.7068 GB, free: 77.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.773e-05/0.9326, allocations: 52.03 kB / 0.7069 GB, free: 77.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01437/0.947, allocations: 9.418 MB / 0.7161 GB, free: 73.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.9471, allocations: 71.72 kB / 0.7162 GB, free: 73.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/0.9473, allocations: 158.5 kB / 0.7163 GB, free: 73.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.9489, allocations: 0.7139 MB / 0.717 GB, free: 73.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004644/0.9535, allocations: 1.642 MB / 0.7186 GB, free: 71.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.9594, allocations: 6.349 MB / 0.7248 GB, free: 65.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/0.9661, allocations: 379.4 kB / 0.7252 GB, free: 65.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008576/0.967, allocations: 436 kB / 0.7256 GB, free: 64.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * Array equations: 5 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003525/0.9705, allocations: 2.625 MB / 0.7282 GB, free: 62.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/0.9714, allocations: 485.7 kB / 0.7286 GB, free: 61.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.9758, allocations: 3.245 MB / 0.7318 GB, free: 58.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.9759, allocations: 24 kB / 0.7318 GB, free: 58.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.9759, allocations: 7.375 kB / 0.7318 GB, free: 58.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.9759, allocations: 11.95 kB / 0.7318 GB, free: 58.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.9873, allocations: 8.579 MB / 0.7402 GB, free: 49.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.9874, allocations: 0 / 0.7402 GB, free: 49.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.9889, allocations: 359.4 kB / 0.7405 GB, free: 49.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.99, allocations: 493.4 kB / 0.741 GB, free: 49.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.9901, allocations: 35.98 kB / 0.7411 GB, free: 49.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.9952, allocations: 5.683 MB / 0.7466 GB, free: 43.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9952, allocations: 4 kB / 0.7466 GB, free: 43.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/1.002, allocations: 5.839 MB / 0.7523 GB, free: 37.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.004, allocations: 0.7954 MB / 0.7531 GB, free: 36.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/1.004, allocations: 38.22 kB / 0.7531 GB, free: 36.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.006, allocations: 99.88 kB / 0.7532 GB, free: 36.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/1.006, allocations: 113.1 kB / 0.7533 GB, free: 36.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.006, allocations: 52 kB / 0.7534 GB, free: 36.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004581/1.011, allocations: 3.759 MB / 0.757 GB, free: 32.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.011, allocations: 0 / 0.757 GB, free: 32.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00557/1.016, allocations: 1.216 MB / 0.7582 GB, free: 31.11 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * 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 {(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.006548/1.023, allocations: 6.489 MB / 0.7646 GB, free: 24.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007522/1.031, allocations: 5.803 MB / 0.7702 GB, free: 18.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.031, allocations: 0 / 0.7702 GB, free: 18.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.032, allocations: 1.758 MB / 0.772 GB, free: 16.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.036, allocations: 0.6253 MB / 0.7726 GB, free: 16.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.293/1.329, allocations: 73.39 MB / 0.8442 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.333, allocations: 4.012 MB / 0.8482 GB, free: 167 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005037/1.338, allocations: 2.29 MB / 0.8504 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002969/1.341, allocations: 2.513 MB / 0.8528 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/1.341, allocations: 3.391 kB / 0.8528 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/1.472, allocations: 93.04 MB / 0.9437 GB, free: 98.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/1.472, allocations: 226 kB / 0.9439 GB, free: 98.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.987/5.46, allocations: 0 / 0.9439 GB, free: 98.05 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches