Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 109.7 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 190.2 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 253.1 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.91 MB / 353.2 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 496.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2984, allocations: 64.27 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0121/0.3105, allocations: 10.4 MB / 0.5581 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008459/0.319, allocations: 3.904 MB / 0.5619 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.3205, allocations: 75.62 kB / 0.562 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004027/0.3245, allocations: 2.106 MB / 0.564 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.3291, allocations: 1.755 MB / 0.5658 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3307, allocations: 0.7057 MB / 0.5664 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.337, allocations: 3.966 MB / 0.5703 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.3401, allocations: 1.95 MB / 0.5722 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.3427, allocations: 1.335 MB / 0.5735 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.3458, allocations: 2.017 MB / 0.5755 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.3465, allocations: 264 kB / 0.5757 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3487, allocations: 1.108 MB / 0.5768 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.3505, allocations: 1.725 MB / 0.5785 GB, free: 60 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.3525, allocations: 1.969 MB / 0.5804 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007427/0.36, allocations: 6.365 MB / 0.5867 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.36, allocations: 8 kB / 0.5867 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.36, allocations: 0 / 0.5867 GB, free: 7.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.3602, allocations: 0 / 0.5867 GB, free: 7.676 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01005/0.3702, allocations: 4.385 MB / 0.5909 GB, free: 3.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3703, allocations: 12.86 kB / 0.591 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001039/0.3713, allocations: 0.6288 MB / 0.5916 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07301/0.4443, allocations: 7.048 MB / 0.5984 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.4507, allocations: 2.678 MB / 0.6011 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4509, allocations: 193.3 kB / 0.6012 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.4516, allocations: 271.7 kB / 0.6015 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.4667, allocations: 8.513 MB / 0.6098 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.4668, allocations: 51.59 kB / 0.6099 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000331/0.4671, allocations: 127.9 kB / 0.61 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002805/0.4699, allocations: 1.731 MB / 0.6117 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.484, allocations: 7.159 MB / 0.6187 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.5251, allocations: 33.65 MB / 0.6515 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00812/0.5333, allocations: 2.831 MB / 0.6543 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.5355, allocations: 1.529 MB / 0.6558 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.5464, allocations: 6.281 MB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.5464, allocations: 51.5 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.499e-06/0.5464, allocations: 0 / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06079/0.6072, allocations: 18.96 MB / 0.6805 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6073, allocations: 205.2 kB / 0.6807 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005502/0.6128, allocations: 3.757 MB / 0.6844 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.6132, allocations: 49.7 kB / 0.6844 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.6154, allocations: 2.941 MB / 0.6873 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008541/0.6163, allocations: 0.7442 MB / 0.688 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.6178, allocations: 1.179 MB / 0.6892 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6179, allocations: 301.1 kB / 0.6894 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.6211, allocations: 2.096 MB / 0.6915 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.6271, allocations: 5.64 MB / 0.697 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.6372, allocations: 8.406 MB / 0.7052 GB, free: 8.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.101e-05/0.6373, allocations: 36 kB / 0.7052 GB, free: 8.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01752/0.6548, allocations: 8.677 MB / 0.7137 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.6549, allocations: 59.98 kB / 0.7138 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.6551, allocations: 128 kB / 0.7139 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/0.66, allocations: 1.38 MB / 0.7152 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.6641, allocations: 1.298 MB / 0.7165 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.6782, allocations: 9.1 MB / 0.7254 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/0.6823, allocations: 295.6 kB / 0.7257 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008172/0.6831, allocations: 360 kB / 0.726 GB, free: 3.176 MB / 0.5606 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.003131/0.6863, allocations: 1.896 MB / 0.7279 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006779/0.687, allocations: 353.6 kB / 0.7282 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2413/0.9282, allocations: 3.738 MB / 0.7319 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.9283, allocations: 23.84 kB / 0.7319 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.9283, allocations: 6.969 kB / 0.7319 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.9283, allocations: 8.859 kB / 0.7319 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.9425, allocations: 8.092 MB / 0.7398 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.9425, allocations: 5 kB / 0.7398 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.9436, allocations: 247.5 kB / 0.74 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/0.9475, allocations: 1.177 MB / 0.7412 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.9477, allocations: 35.33 kB / 0.7412 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009723/0.9574, allocations: 8.374 MB / 0.7494 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9574, allocations: 1.75 kB / 0.7494 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009103/0.9665, allocations: 6.26 MB / 0.7555 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.9674, allocations: 314.9 kB / 0.7558 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.9677, allocations: 29.94 kB / 0.7559 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.9689, allocations: 79.84 kB / 0.7559 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.9693, allocations: 121 kB / 0.756 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.9694, allocations: 59.5 kB / 0.7561 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002736/0.9721, allocations: 2.328 MB / 0.7584 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9721, allocations: 3.938 kB / 0.7584 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004023/0.9761, allocations: 0.9678 MB / 0.7593 GB, free: 146.6 MB / 0.5606 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.009236/0.9854, allocations: 6.976 MB / 0.7661 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006637/0.992, allocations: 4.995 MB / 0.771 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.992, allocations: 3 kB / 0.771 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9938, allocations: 1.622 MB / 0.7726 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.9961, allocations: 400.5 kB / 0.773 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/1.05, allocations: 44.32 MB / 0.8163 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.052, allocations: 2.965 MB / 0.8192 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003325/1.056, allocations: 1.815 MB / 0.8209 GB, free: 78.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.057, allocations: 1.651 MB / 0.8225 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.057, allocations: 0 / 0.8225 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/1.164, allocations: 72.33 MB / 0.8932 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.25/29.41, allocations: 12.97 kB / 0.8932 GB, free: 4.562 MB / 0.5606 GB " [Timeout remaining time 630] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 32.34857219099649]