Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 117.7 kB / 20.32 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 206.9 kB / 23.6 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.4 MB / 257.1 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.94 MB / 360.5 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.88 kB / 0.4958 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3237, allocations: 66.08 MB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01261/0.3363, allocations: 10.33 MB / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008351/0.3447, allocations: 3.909 MB / 0.5742 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.3464, allocations: 71.62 kB / 0.5743 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004527/0.3509, allocations: 2.114 MB / 0.5764 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.3555, allocations: 1.72 MB / 0.5781 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.3573, allocations: 0.694 MB / 0.5787 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006154/0.3635, allocations: 4.008 MB / 0.5827 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/0.3666, allocations: 2.167 MB / 0.5848 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.3689, allocations: 1.328 MB / 0.5861 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.3721, allocations: 2.001 MB / 0.588 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008734/0.373, allocations: 264 kB / 0.5883 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.3754, allocations: 1.1 MB / 0.5893 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002179/0.3776, allocations: 1.71 MB / 0.591 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.3805, allocations: 1.953 MB / 0.5929 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008617/0.3891, allocations: 6.362 MB / 0.5991 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.3891, allocations: 4 kB / 0.5991 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3891, allocations: 0 / 0.5991 GB, free: 12.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000192/0.3893, allocations: 4 kB / 0.5991 GB, free: 12.39 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.01095/0.4003, allocations: 4.362 MB / 0.6034 GB, free: 7.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4003, allocations: 16.02 kB / 0.6034 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009884/0.4013, allocations: 0.6248 MB / 0.604 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08266/0.484, allocations: 7.048 MB / 0.6109 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007589/0.4916, allocations: 2.577 MB / 0.6134 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4918, allocations: 189.3 kB / 0.6136 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4931, allocations: 279.7 kB / 0.6139 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.5094, allocations: 8.6 MB / 0.6223 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.5096, allocations: 43.64 kB / 0.6223 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000522/0.5101, allocations: 127.9 kB / 0.6224 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.5132, allocations: 1.739 MB / 0.6241 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.5281, allocations: 7.166 MB / 0.6311 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/0.5734, allocations: 33.65 MB / 0.664 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008644/0.582, allocations: 2.839 MB / 0.6668 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.5844, allocations: 1.518 MB / 0.6682 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.5963, allocations: 6.297 MB / 0.6744 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.5964, allocations: 55.5 kB / 0.6745 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.99e-06/0.5964, allocations: 0 / 0.6745 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06428/0.6607, allocations: 18.97 MB / 0.693 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.6608, allocations: 197.2 kB / 0.6932 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005861/0.6666, allocations: 3.752 MB / 0.6968 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/0.667, allocations: 53.69 kB / 0.6969 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.6695, allocations: 2.933 MB / 0.6997 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.6705, allocations: 0.7481 MB / 0.7005 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.6724, allocations: 1.175 MB / 0.7016 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6725, allocations: 301.1 kB / 0.7019 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/0.6759, allocations: 2.096 MB / 0.704 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/0.6827, allocations: 5.71 MB / 0.7095 GB, free: 7.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.694, allocations: 8.426 MB / 0.7178 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.6941, allocations: 36 kB / 0.7178 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01997/0.7141, allocations: 8.694 MB / 0.7263 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7142, allocations: 56.47 kB / 0.7263 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.7143, allocations: 128 kB / 0.7265 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/0.7198, allocations: 1.388 MB / 0.7278 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.7244, allocations: 1.298 MB / 0.7291 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2855/1.01, allocations: 9.095 MB / 0.738 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/1.014, allocations: 309.9 kB / 0.7383 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006899/1.015, allocations: 358.1 kB / 0.7386 GB, free: 149 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.002712/1.017, allocations: 1.888 MB / 0.7404 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/1.018, allocations: 355.7 kB / 0.7408 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00734/1.025, allocations: 3.748 MB / 0.7444 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/1.025, allocations: 23.36 kB / 0.7445 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.025, allocations: 9.078 kB / 0.7445 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/1.025, allocations: 10.11 kB / 0.7445 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.04, allocations: 8.108 MB / 0.7524 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.04, allocations: 0 / 0.7524 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.042, allocations: 258.6 kB / 0.7527 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/1.045, allocations: 1.179 MB / 0.7538 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.046, allocations: 28 kB / 0.7538 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00963/1.055, allocations: 8.374 MB / 0.762 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-06/1.055, allocations: 0 / 0.762 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0095/1.065, allocations: 6.293 MB / 0.7682 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.066, allocations: 316 kB / 0.7685 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007/1.067, allocations: 28 kB / 0.7685 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.068, allocations: 83.89 kB / 0.7686 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/1.069, allocations: 117 kB / 0.7687 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.069, allocations: 58.88 kB / 0.7687 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003263/1.072, allocations: 2.328 MB / 0.771 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.072, allocations: 0 / 0.771 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004767/1.077, allocations: 0.9477 MB / 0.7719 GB, free: 124 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.00985/1.087, allocations: 6.983 MB / 0.7787 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006802/1.093, allocations: 5.017 MB / 0.7836 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.093, allocations: 7.938 kB / 0.7837 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/1.095, allocations: 1.624 MB / 0.7852 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.098, allocations: 410.6 kB / 0.7856 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05494/1.153, allocations: 44.34 MB / 0.8289 GB, free: 60.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/1.155, allocations: 2.417 MB / 0.8313 GB, free: 57.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003186/1.158, allocations: 1.816 MB / 0.8331 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.16, allocations: 1.643 MB / 0.8347 GB, free: 54.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.16, allocations: 0 / 0.8347 GB, free: 54.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.276, allocations: 72.18 MB / 0.9051 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.37/28.65, allocations: 5.969 kB / 0.9052 GB, free: 14.39 MB / 0.5919 GB " [Timeout remaining time 631] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.75498291524127]