Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001591/0.001591, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001794/0.001794, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1234, allocations: 65.98 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01298/0.1363, allocations: 10.4 MB / 0.5655 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008081/0.1444, allocations: 3.907 MB / 0.5694 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.1459, allocations: 71.62 kB / 0.5694 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004375/0.1503, allocations: 2.098 MB / 0.5715 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.1547, allocations: 1.708 MB / 0.5731 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1565, allocations: 0.6979 MB / 0.5738 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006034/0.1625, allocations: 4.001 MB / 0.5777 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.1657, allocations: 2.219 MB / 0.5799 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.1679, allocations: 1.32 MB / 0.5812 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.1711, allocations: 2.001 MB / 0.5831 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008389/0.1719, allocations: 268 kB / 0.5834 GB, free: 9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.1746, allocations: 1.217 MB / 0.5846 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.1768, allocations: 1.702 MB / 0.5862 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.1797, allocations: 1.957 MB / 0.5882 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2585/0.4382, allocations: 6.337 MB / 0.5943 GB, free: 13.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4382, allocations: 1.25 kB / 0.5943 GB, free: 13.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4382, allocations: 0 / 0.5943 GB, free: 13.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002443/0.4384, allocations: 0.5312 kB / 0.5943 GB, free: 13.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01369/0.4521, allocations: 4.447 MB / 0.5987 GB, free: 11.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4522, allocations: 12.58 kB / 0.5987 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/0.4542, allocations: 0.6202 MB / 0.5993 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09045/0.5447, allocations: 7.054 MB / 0.6062 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006939/0.5516, allocations: 2.635 MB / 0.6088 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.5518, allocations: 195.8 kB / 0.609 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.5533, allocations: 271.9 kB / 0.6092 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.5706, allocations: 8.531 MB / 0.6175 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.5708, allocations: 43.39 kB / 0.6176 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007408/0.5715, allocations: 127.3 kB / 0.6177 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003018/0.5746, allocations: 1.731 MB / 0.6194 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.5881, allocations: 7.174 MB / 0.6264 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.6345, allocations: 33.86 MB / 0.6595 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009745/0.6442, allocations: 3.294 MB / 0.6627 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.6468, allocations: 1.522 MB / 0.6642 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.6602, allocations: 7.317 MB / 0.6713 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.6602, allocations: 51.56 kB / 0.6714 GB, free: 6.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 5e-06/0.6602, allocations: 0 / 0.6714 GB, free: 6.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.06953/0.7298, allocations: 19.21 MB / 0.6901 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.7299, allocations: 198.8 kB / 0.6903 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/0.7363, allocations: 3.744 MB / 0.694 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004328/0.7367, allocations: 61.61 kB / 0.694 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.7394, allocations: 2.937 MB / 0.6969 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.7405, allocations: 0.7472 MB / 0.6976 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002194/0.7427, allocations: 1.175 MB / 0.6988 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7428, allocations: 305.1 kB / 0.6991 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/0.7465, allocations: 2.096 MB / 0.7011 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007178/0.7537, allocations: 5.661 MB / 0.7066 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.7652, allocations: 8.409 MB / 0.7149 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.7654, allocations: 40 kB / 0.7149 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02012/0.7855, allocations: 8.692 MB / 0.7234 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.7856, allocations: 61.41 kB / 0.7234 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/0.7857, allocations: 124 kB / 0.7236 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.7912, allocations: 1.392 MB / 0.7249 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/0.7959, allocations: 1.302 MB / 0.7262 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.8112, allocations: 9.204 MB / 0.7352 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.8158, allocations: 311.6 kB / 0.7355 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.817, allocations: 356 kB / 0.7358 GB, free: 1.801 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (695): * Single equations (assignments): 691 * 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,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00407/0.821, allocations: 1.896 MB / 0.7377 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/0.8219, allocations: 353.6 kB / 0.738 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009721/0.8316, allocations: 3.755 MB / 0.7417 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/0.8316, allocations: 20 kB / 0.7417 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.8317, allocations: 8 kB / 0.7417 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-05/0.8317, allocations: 7.969 kB / 0.7417 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/0.8509, allocations: 8.133 MB / 0.7497 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.8509, allocations: 3.828 kB / 0.7497 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.8524, allocations: 255.6 kB / 0.7499 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/0.8574, allocations: 1.179 MB / 0.7511 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/0.8577, allocations: 31.98 kB / 0.7511 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.8718, allocations: 8.486 MB / 0.7594 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8718, allocations: 0 / 0.7594 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.8848, allocations: 6.277 MB / 0.7655 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.8859, allocations: 394.6 kB / 0.7659 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/0.8866, allocations: 28 kB / 0.7659 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.8883, allocations: 83.89 kB / 0.766 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/0.8888, allocations: 113.1 kB / 0.7661 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.8889, allocations: 55.11 kB / 0.7661 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0043/0.8932, allocations: 2.324 MB / 0.7684 GB, free: 240 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8932, allocations: 4 kB / 0.7684 GB, free: 236 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005689/0.8989, allocations: 0.953 MB / 0.7693 GB, free: 15.28 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/0.9124, allocations: 6.982 MB / 0.7762 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009482/0.9219, allocations: 5.026 MB / 0.7811 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9219, allocations: 0 / 0.7811 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003046/0.925, allocations: 1.634 MB / 0.7827 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.9279, allocations: 396.1 kB / 0.783 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0825/1.01, allocations: 44.27 MB / 0.8263 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004625/1.015, allocations: 2.965 MB / 0.8292 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004649/1.02, allocations: 1.807 MB / 0.8309 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/1.023, allocations: 1.651 MB / 0.8326 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of SimCode: time 1.222e-06/1.023, allocations: 0 / 0.8326 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3722/1.395, allocations: 67.3 MB / 0.8983 GB, free: 205.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.59/27.98, allocations: 11.44 kB / 0.8983 GB, free: 205.9 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 31.123196924992953]