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.002343/0.002343, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002414/0.002414, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2128/0.2128, allocations: 44.93 MB / 358.8 MB, free: 6.059 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.002316/0.002316, allocations: 70.69 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3047, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01182/0.3165, allocations: 9.111 MB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007497/0.324, allocations: 3.691 MB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3252, allocations: 71.62 kB / 0.5695 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.3291, allocations: 2.024 MB / 0.5715 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.3329, allocations: 1.724 MB / 0.5732 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.3343, allocations: 0.6979 MB / 0.5739 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005067/0.3394, allocations: 4.005 MB / 0.5778 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.3419, allocations: 2.148 MB / 0.5799 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.3437, allocations: 1.328 MB / 0.5812 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.3463, allocations: 1.908 MB / 0.5831 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005447/0.3468, allocations: 272 kB / 0.5833 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.3488, allocations: 1.081 MB / 0.5844 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.3505, allocations: 1.706 MB / 0.586 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.3521, allocations: 1.452 MB / 0.5875 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.3592, allocations: 6.373 MB / 0.5937 GB, free: 1.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3592, allocations: 0 / 0.5937 GB, free: 1.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3592, allocations: 0 / 0.5937 GB, free: 1.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.3594, allocations: 0 / 0.5937 GB, free: 1.777 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.009131/0.3685, allocations: 4.371 MB / 0.5979 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3685, allocations: 8.031 kB / 0.598 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008254/0.3694, allocations: 0.6288 MB / 0.5986 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08656/0.4559, allocations: 7.048 MB / 0.6054 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/0.4631, allocations: 2.569 MB / 0.608 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.4633, allocations: 200.3 kB / 0.6081 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007633/0.464, allocations: 275.8 kB / 0.6084 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.4781, allocations: 8.604 MB / 0.6168 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4782, allocations: 39.7 kB / 0.6168 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.4786, allocations: 123.9 kB / 0.617 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/0.4815, allocations: 1.739 MB / 0.6187 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.4948, allocations: 7.147 MB / 0.6256 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.5358, allocations: 32.13 MB / 0.657 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.5441, allocations: 2.828 MB / 0.6598 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.5465, allocations: 1.522 MB / 0.6613 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5582, allocations: 5.934 MB / 0.6671 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.5583, allocations: 55.55 kB / 0.6671 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.2e-06/0.5583, allocations: 0 / 0.6671 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06318/0.6215, allocations: 18.99 MB / 0.6857 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.6216, allocations: 205.2 kB / 0.6859 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006284/0.6279, allocations: 3.953 MB / 0.6897 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/0.6282, allocations: 53.7 kB / 0.6898 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/0.6306, allocations: 2.933 MB / 0.6926 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009143/0.6315, allocations: 0.752 MB / 0.6934 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/0.6338, allocations: 1.171 MB / 0.6945 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6339, allocations: 301.1 kB / 0.6948 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003759/0.6377, allocations: 2.104 MB / 0.6969 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/0.6447, allocations: 5.706 MB / 0.7024 GB, free: 14.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6556, allocations: 8.422 MB / 0.7106 GB, free: 4.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/0.6557, allocations: 36 kB / 0.7107 GB, free: 4.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0175/0.6732, allocations: 8.694 MB / 0.7192 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6734, allocations: 60 kB / 0.7192 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.6735, allocations: 124 kB / 0.7193 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/0.6784, allocations: 1.384 MB / 0.7207 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/0.6825, allocations: 1.302 MB / 0.722 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2831/0.9656, allocations: 9.006 MB / 0.7308 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/0.9701, allocations: 300.6 kB / 0.7311 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/0.9711, allocations: 357.1 kB / 0.7314 GB, free: 153.2 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.003278/0.9743, allocations: 1.896 MB / 0.7332 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.975, allocations: 351.8 kB / 0.7336 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006914/0.9819, allocations: 3.748 MB / 0.7372 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.9819, allocations: 28.39 kB / 0.7373 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9819, allocations: 11.5 kB / 0.7373 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.9819, allocations: 8.578 kB / 0.7373 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.9943, allocations: 7.767 MB / 0.7449 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.9943, allocations: 3.719 kB / 0.7449 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.9954, allocations: 251.4 kB / 0.7451 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003772/0.9991, allocations: 1.181 MB / 0.7463 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9993, allocations: 31.52 kB / 0.7463 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/1.009, allocations: 8.277 MB / 0.7544 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.009, allocations: 3.938 kB / 0.7544 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/1.017, allocations: 6.292 MB / 0.7605 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.018, allocations: 317.3 kB / 0.7608 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.018, allocations: 35.91 kB / 0.7609 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.02, allocations: 83.61 kB / 0.7609 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.02, allocations: 119.5 kB / 0.7611 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.02, allocations: 55.98 kB / 0.7611 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002566/1.023, allocations: 2.328 MB / 0.7634 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.023, allocations: 0 / 0.7634 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004034/1.027, allocations: 0.9458 MB / 0.7643 GB, free: 134.1 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.009086/1.036, allocations: 6.993 MB / 0.7711 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006118/1.042, allocations: 5.024 MB / 0.776 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.042, allocations: 0 / 0.776 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.044, allocations: 1.623 MB / 0.7776 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.046, allocations: 402.2 kB / 0.778 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05359/1.099, allocations: 44.34 MB / 0.8213 GB, free: 70.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/1.102, allocations: 2.414 MB / 0.8237 GB, free: 67.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003427/1.106, allocations: 1.811 MB / 0.8254 GB, free: 66.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.107, allocations: 1.651 MB / 0.827 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.107, allocations: 4 kB / 0.8271 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.213, allocations: 67.69 MB / 0.8932 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.31, allocations: 11.98 kB / 0.8932 GB, free: 13.52 MB / 0.5762 GB " [Timeout remaining time 643] (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: 20.353669040370733]