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.0007522/0.0007522, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007922/0.0007922, allocations: 177.2 kB / 16.92 MB, free: 6.672 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.357/1.357, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.3577/0.3577, allocations: 43.58 MB / 315 MB, free: 8.848 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.0004975/0.0004974, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3132/0.4628, allocations: 71.43 MB / 0.5029 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03635/0.4992, allocations: 14.43 MB / 0.517 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01565/0.5149, allocations: 313.1 kB / 0.5173 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.5173, allocations: 0.5222 MB / 0.5178 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007848/0.5251, allocations: 2.22 MB / 0.52 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.5276, allocations: 0.8152 MB / 0.5208 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01422/0.5418, allocations: 8.562 MB / 0.5291 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009403/0.5513, allocations: 6.208 MB / 0.5352 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.5546, allocations: 1.544 MB / 0.5367 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/0.5588, allocations: 2.647 MB / 0.5393 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006907/0.5595, allocations: 184 kB / 0.5395 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.5623, allocations: 1.314 MB / 0.5407 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.5646, allocations: 2.349 MB / 0.543 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.5674, allocations: 2.68 MB / 0.5457 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009562/0.577, allocations: 8.856 MB / 0.5543 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.577, allocations: 0 / 0.5543 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.577, allocations: 4 kB / 0.5543 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.5773, allocations: 0 / 0.5543 GB, free: 14.14 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.0128/0.5901, allocations: 5.419 MB / 0.5596 GB, free: 8.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5902, allocations: 12.03 kB / 0.5596 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002516/0.5927, allocations: 0.8854 MB / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03903/0.6318, allocations: 6.214 MB / 0.5665 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.6427, allocations: 4.715 MB / 0.5711 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.643, allocations: 303.5 kB / 0.5714 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.6443, allocations: 395.6 kB / 0.5718 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.6674, allocations: 12.51 MB / 0.584 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.6676, allocations: 51.53 kB / 0.5841 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004759/0.6681, allocations: 191.8 kB / 0.5843 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003993/0.6721, allocations: 2.409 MB / 0.5866 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/0.693, allocations: 10.3 MB / 0.5967 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2922/0.9853, allocations: 48.41 MB / 0.644 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.9959, allocations: 4.676 MB / 0.6485 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.9989, allocations: 2.315 MB / 0.6508 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/1.01, allocations: 6.905 MB / 0.6575 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.01, allocations: 50.34 kB / 0.6576 GB, free: 105.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.44e-06/1.01, allocations: 0 / 0.6576 GB, free: 105.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.043/1.053, allocations: 16.17 MB / 0.6734 GB, free: 99.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/1.053, allocations: 207.3 kB / 0.6736 GB, free: 99.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.065, allocations: 5.859 MB / 0.6793 GB, free: 97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.065, allocations: 51.39 kB / 0.6793 GB, free: 96.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003274/1.069, allocations: 4.002 MB / 0.6832 GB, free: 93.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.07, allocations: 0.762 MB / 0.684 GB, free: 93.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/1.071, allocations: 0.5985 MB / 0.6846 GB, free: 93.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/1.071, allocations: 302.9 kB / 0.6849 GB, free: 92.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/1.075, allocations: 2.385 MB / 0.6872 GB, free: 92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.082, allocations: 6.805 MB / 0.6938 GB, free: 85.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009089/1.091, allocations: 9.952 MB / 0.7036 GB, free: 76.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/1.091, allocations: 44.56 kB / 0.7036 GB, free: 76.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01554/1.107, allocations: 9.42 MB / 0.7128 GB, free: 73.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/1.107, allocations: 71.47 kB / 0.7129 GB, free: 73.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.107, allocations: 159 kB / 0.713 GB, free: 73.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.108, allocations: 0.7112 MB / 0.7137 GB, free: 73.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005914/1.114, allocations: 1.654 MB / 0.7153 GB, free: 71.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/1.121, allocations: 6.348 MB / 0.7215 GB, free: 66.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/1.129, allocations: 385.2 kB / 0.7219 GB, free: 65.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.13, allocations: 444.2 kB / 0.7223 GB, free: 65.24 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.005562/1.136, allocations: 2.627 MB / 0.7249 GB, free: 62.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.137, allocations: 485.7 kB / 0.7253 GB, free: 62.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/1.142, allocations: 3.234 MB / 0.7285 GB, free: 58.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.142, allocations: 20 kB / 0.7285 GB, free: 58.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.142, allocations: 4 kB / 0.7285 GB, free: 58.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.142, allocations: 11.97 kB / 0.7285 GB, free: 58.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.156, allocations: 8.574 MB / 0.7369 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.156, allocations: 5.062 kB / 0.7369 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.158, allocations: 367.7 kB / 0.7373 GB, free: 49.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.159, allocations: 489.2 kB / 0.7377 GB, free: 49.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/1.159, allocations: 36 kB / 0.7378 GB, free: 49.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004767/1.164, allocations: 5.693 MB / 0.7433 GB, free: 43.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.164, allocations: 4 kB / 0.7433 GB, free: 43.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/1.171, allocations: 5.829 MB / 0.749 GB, free: 37.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/1.174, allocations: 0.8195 MB / 0.7498 GB, free: 36.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000805/1.174, allocations: 35.98 kB / 0.7499 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.176, allocations: 98.94 kB / 0.75 GB, free: 36.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/1.177, allocations: 113.1 kB / 0.7501 GB, free: 36.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.177, allocations: 59.92 kB / 0.7501 GB, free: 36.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006622/1.183, allocations: 3.759 MB / 0.7538 GB, free: 32.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.183, allocations: 0 / 0.7538 GB, free: 32.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008055/1.191, allocations: 1.21 MB / 0.755 GB, free: 31.41 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.007377/1.199, allocations: 6.491 MB / 0.7613 GB, free: 24.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007945/1.207, allocations: 5.803 MB / 0.767 GB, free: 19.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.207, allocations: 4 kB / 0.767 GB, free: 19.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.209, allocations: 1.751 MB / 0.7687 GB, free: 17.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/1.215, allocations: 0.6079 MB / 0.7693 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3347/1.55, allocations: 73.5 MB / 0.8411 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004127/1.554, allocations: 4.013 MB / 0.845 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005233/1.559, allocations: 2.292 MB / 0.8472 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/1.562, allocations: 2.512 MB / 0.8497 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/1.562, allocations: 0 / 0.8497 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.702, allocations: 92.07 MB / 0.9396 GB, free: 98.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.702, allocations: 221.4 kB / 0.9398 GB, free: 97.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.306/6.008, allocations: 1.531 kB / 0.9398 GB, free: 97.98 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