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.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.00176/0.00176, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002159/0.002159, allocations: 209.2 kB / 23.74 MB, free: 4.66 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2138/0.2138, allocations: 44.92 MB / 358.8 MB, free: 6.285 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.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_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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 65.48 MB / 0.557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01201/0.3172, allocations: 10.43 MB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007672/0.3249, allocations: 3.928 MB / 0.5711 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3263, allocations: 75.62 kB / 0.5711 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.3304, allocations: 2.106 MB / 0.5732 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.3346, allocations: 1.72 MB / 0.5749 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3362, allocations: 0.6979 MB / 0.5755 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.342, allocations: 4.009 MB / 0.5795 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.3449, allocations: 2.155 MB / 0.5816 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.347, allocations: 1.328 MB / 0.5829 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.3503, allocations: 2.005 MB / 0.5848 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008266/0.3511, allocations: 264 kB / 0.5851 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3535, allocations: 1.217 MB / 0.5863 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.3553, allocations: 1.714 MB / 0.5879 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.3575, allocations: 1.953 MB / 0.5898 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007588/0.3651, allocations: 6.346 MB / 0.596 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3651, allocations: 0 / 0.596 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3651, allocations: 4 kB / 0.596 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.3652, allocations: 0 / 0.596 GB, free: 15.51 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.0095/0.3747, allocations: 4.366 MB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3748, allocations: 8.031 kB / 0.6003 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008005/0.3756, allocations: 0.6288 MB / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08216/0.4577, allocations: 7.048 MB / 0.6078 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00618/0.4639, allocations: 2.569 MB / 0.6103 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4641, allocations: 197.3 kB / 0.6105 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007757/0.4649, allocations: 271.7 kB / 0.6108 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.4803, allocations: 8.521 MB / 0.6191 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.4805, allocations: 47.62 kB / 0.6191 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.4809, allocations: 127.9 kB / 0.6193 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002928/0.4838, allocations: 1.739 MB / 0.621 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.4984, allocations: 7.17 MB / 0.628 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.5434, allocations: 33.75 MB / 0.6609 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008459/0.5518, allocations: 2.835 MB / 0.6637 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/0.5541, allocations: 1.519 MB / 0.6652 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.5662, allocations: 6.297 MB / 0.6713 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.5662, allocations: 55.5 kB / 0.6714 GB, free: 412 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.137e-06/0.5662, allocations: 0 / 0.6714 GB, free: 412 kB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06505/0.6313, allocations: 18.9 MB / 0.6898 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.6314, allocations: 205.2 kB / 0.69 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005569/0.637, allocations: 3.745 MB / 0.6937 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/0.6373, allocations: 57.7 kB / 0.6937 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/0.6397, allocations: 2.933 MB / 0.6966 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/0.6407, allocations: 0.7481 MB / 0.6973 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.6424, allocations: 1.179 MB / 0.6985 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6426, allocations: 301.1 kB / 0.6988 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/0.6461, allocations: 2.104 MB / 0.7008 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006757/0.6528, allocations: 5.66 MB / 0.7064 GB, free: 10.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.664, allocations: 8.424 MB / 0.7146 GB, free: 484 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.6641, allocations: 36 kB / 0.7146 GB, free: 448 kB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01893/0.6831, allocations: 8.684 MB / 0.7231 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.6832, allocations: 60.97 kB / 0.7232 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/0.6834, allocations: 127.9 kB / 0.7233 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.6887, allocations: 1.388 MB / 0.7246 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/0.6935, allocations: 1.298 MB / 0.7259 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2541/0.9477, allocations: 9.101 MB / 0.7348 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.9516, allocations: 303.3 kB / 0.7351 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000753/0.9523, allocations: 357.3 kB / 0.7354 GB, free: 151.6 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.00257/0.9549, allocations: 1.895 MB / 0.7373 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.9554, allocations: 349 kB / 0.7376 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/0.9626, allocations: 3.749 MB / 0.7413 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.9626, allocations: 27.64 kB / 0.7413 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.9626, allocations: 7.562 kB / 0.7413 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.9626, allocations: 15.08 kB / 0.7413 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.9773, allocations: 8.096 MB / 0.7492 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.9773, allocations: 0.8125 kB / 0.7492 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9786, allocations: 254.1 kB / 0.7495 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004141/0.9827, allocations: 1.181 MB / 0.7506 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.9829, allocations: 33.52 kB / 0.7506 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009889/0.9928, allocations: 8.368 MB / 0.7588 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9928, allocations: 7.688 kB / 0.7588 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009271/1.002, allocations: 6.287 MB / 0.765 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/1.003, allocations: 322.8 kB / 0.7653 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/1.003, allocations: 31.98 kB / 0.7653 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.004, allocations: 83.91 kB / 0.7654 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.005, allocations: 113.1 kB / 0.7655 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.005, allocations: 55.98 kB / 0.7655 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00259/1.007, allocations: 2.324 MB / 0.7678 GB, free: 131 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.007, allocations: 0 / 0.7678 GB, free: 131 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004405/1.012, allocations: 0.9556 MB / 0.7687 GB, free: 130 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.009861/1.022, allocations: 6.982 MB / 0.7756 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006785/1.029, allocations: 5.022 MB / 0.7805 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.029, allocations: 0 / 0.7805 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.03, allocations: 1.628 MB / 0.7821 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.033, allocations: 405.3 kB / 0.7824 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05526/1.088, allocations: 44.34 MB / 0.8257 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/1.09, allocations: 2.961 MB / 0.8286 GB, free: 63.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003153/1.093, allocations: 1.811 MB / 0.8304 GB, free: 61.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.095, allocations: 1.651 MB / 0.832 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.095, allocations: 0 / 0.832 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.205, allocations: 72.18 MB / 0.9025 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.99/29.19, allocations: 10.17 kB / 0.9025 GB, free: 4.059 MB / 0.5762 GB " [Timeout remaining time 631] (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.211360945002525]