Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 169.9 kB / 23.31 MB, free: 1.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8617/0.8617, allocations: 158.6 MB / 185.1 MB, free: 3.012 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.073e-05, allocations: 2.281 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007688/0.007708, allocations: 9.895 MB / 417 MB, free: 3.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00631/0.01402, allocations: 3.871 MB / 420.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.01533, allocations: 67.75 kB / 420.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.01825, allocations: 2.9 MB / 423.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.02114, allocations: 2.018 MB / 425.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.02215, allocations: 0.7599 MB / 426.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003648/0.0258, allocations: 4.537 MB / 431.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.02804, allocations: 3.287 MB / 434.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1903/0.2184, allocations: 2.439 MB / 436.8 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004801/0.2232, allocations: 2.37 MB / 439.2 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.2246, allocations: 379.2 kB / 439.6 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.228, allocations: 1.21 MB / 440.8 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.2315, allocations: 2.194 MB / 443 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005322/0.2368, allocations: 1.443 MB / 444.4 MB, free: 18.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.2481, allocations: 8.185 MB / 452.6 MB, free: 17.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2481, allocations: 0 / 452.6 MB, free: 17.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2481, allocations: 0 / 452.6 MB, free: 17.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002994/0.2484, allocations: 1.375 kB / 452.6 MB, free: 17.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01465/0.263, allocations: 5.176 MB / 457.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.2631, allocations: 10.22 kB / 457.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/0.2649, allocations: 0.7704 MB / 458.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04018/0.3051, allocations: 7.409 MB / 466 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006313/0.3114, allocations: 2.843 MB / 468.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3116, allocations: 250.4 kB / 469.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.3128, allocations: 341.5 kB / 469.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.3281, allocations: 10.42 MB / 479.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.3283, allocations: 45.44 kB / 479.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/0.3287, allocations: 158.7 kB / 480 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/0.3309, allocations: 2.094 MB / 482.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3439, allocations: 8.547 MB / 490.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.3868, allocations: 36.83 MB / 0.5151 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.3908, allocations: 2.426 MB / 0.5175 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.3926, allocations: 1.525 MB / 0.519 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.3928, allocations: 104.7 kB / 0.5191 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3929, allocations: 50.66 kB / 0.5191 GB, free: 10.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 4.258e-06/0.3929, allocations: 0 / 0.5191 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.02457/0.4174, allocations: 14.33 MB / 0.5331 GB, free: 12.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.4175, allocations: 201.2 kB / 0.5333 GB, free: 12.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.4233, allocations: 4.286 MB / 0.5375 GB, free: 7.832 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004384/0.4237, allocations: 57.7 kB / 0.5376 GB, free: 7.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/0.4256, allocations: 3.318 MB / 0.5408 GB, free: 4.461 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.4266, allocations: 0.7592 MB / 0.5415 GB, free: 3.711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.4281, allocations: 1.203 MB / 0.5427 GB, free: 2.496 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.4282, allocations: 301.1 kB / 0.543 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.4308, allocations: 2.151 MB / 0.5451 GB, free: 44 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/0.4355, allocations: 5.88 MB / 0.5508 GB, free: 8.379 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.4447, allocations: 8.638 MB / 0.5593 GB, free: 14.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.4449, allocations: 40 kB / 0.5593 GB, free: 13.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0132/0.458, allocations: 8.003 MB / 0.5671 GB, free: 5.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.4581, allocations: 60 kB / 0.5672 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/0.4583, allocations: 128 kB / 0.5673 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.459, allocations: 446.5 kB / 0.5677 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/0.4623, allocations: 1.419 MB / 0.5691 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.4658, allocations: 3.527 MB / 0.5726 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/0.4702, allocations: 387.4 kB / 0.5729 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009492/0.4711, allocations: 363.9 kB / 0.5733 GB, free: 15.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (745): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003612/0.4747, allocations: 2.24 MB / 0.5755 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006595/0.4754, allocations: 361.6 kB / 0.5758 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.479, allocations: 2.878 MB / 0.5786 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.4791, allocations: 20 kB / 0.5786 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.4791, allocations: 4 kB / 0.5786 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4791, allocations: 7.969 kB / 0.5787 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.4911, allocations: 7.524 MB / 0.586 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.4911, allocations: 7.984 kB / 0.586 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009561/0.492, allocations: 339.5 kB / 0.5863 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.4925, allocations: 263.1 kB / 0.5866 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.4927, allocations: 39.97 kB / 0.5866 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.4952, allocations: 3.096 MB / 0.5896 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4952, allocations: 0 / 0.5896 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/0.5013, allocations: 5.48 MB / 0.595 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.5028, allocations: 0.6183 MB / 0.5956 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.5032, allocations: 32 kB / 0.5956 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/0.5041, allocations: 150.4 kB / 0.5958 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.5043, allocations: 133.1 kB / 0.5959 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/0.5044, allocations: 59.98 kB / 0.596 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003515/0.5079, allocations: 2.573 MB / 0.5985 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.5079, allocations: 0 / 0.5985 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004324/0.5122, allocations: 1.098 MB / 0.5995 GB, free: 4.512 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006557/0.5188, allocations: 6.148 MB / 0.6056 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006855/0.5256, allocations: 4.985 MB / 0.6104 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5257, allocations: 0 / 0.6104 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.5275, allocations: 1.537 MB / 0.6119 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.5298, allocations: 450.3 kB / 0.6123 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2566/0.7863, allocations: 45.35 MB / 0.6566 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/0.7886, allocations: 2.92 MB / 0.6595 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002848/0.7914, allocations: 1.959 MB / 0.6614 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.7932, allocations: 1.992 MB / 0.6633 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.482e-06/0.7932, allocations: 0 / 0.6633 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07924/0.8724, allocations: 68.53 MB / 0.7303 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/10.15, allocations: 0 / 0.7303 GB, free: 79.95 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.277949782088399]