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.0016/0.0016, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002021/0.002021, allocations: 210.5 kB / 23.74 MB, free: 4.531 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.217/0.217, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.001913/0.001913, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.302, allocations: 66.03 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01155/0.3136, allocations: 10.42 MB / 0.5708 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007578/0.3212, allocations: 3.936 MB / 0.5747 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.3225, allocations: 71.62 kB / 0.5747 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.3263, allocations: 2.11 MB / 0.5768 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.3305, allocations: 1.72 MB / 0.5785 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.332, allocations: 0.694 MB / 0.5792 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00588/0.3379, allocations: 4.009 MB / 0.5831 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.3407, allocations: 2.159 MB / 0.5852 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3426, allocations: 1.324 MB / 0.5865 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.3454, allocations: 2.001 MB / 0.5884 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.3459, allocations: 264 kB / 0.5887 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.348, allocations: 1.225 MB / 0.5899 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.3497, allocations: 1.714 MB / 0.5916 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.3517, allocations: 1.949 MB / 0.5935 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00722/0.359, allocations: 6.346 MB / 0.5997 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.359, allocations: 0 / 0.5997 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.359, allocations: 0 / 0.5997 GB, free: 12.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000137/0.3591, allocations: 0 / 0.5997 GB, free: 12.32 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.009634/0.3687, allocations: 4.378 MB / 0.6039 GB, free: 7.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3688, allocations: 8.031 kB / 0.6039 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008286/0.3696, allocations: 0.6288 MB / 0.6046 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07892/0.4485, allocations: 7.044 MB / 0.6114 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.4549, allocations: 2.557 MB / 0.6139 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.4551, allocations: 205.3 kB / 0.6141 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/0.4558, allocations: 271.7 kB / 0.6144 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.4695, allocations: 8.529 MB / 0.6227 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.4696, allocations: 43.64 kB / 0.6228 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.4699, allocations: 119.9 kB / 0.6229 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002787/0.4727, allocations: 1.739 MB / 0.6246 GB, free: 2.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.4863, allocations: 7.167 MB / 0.6316 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/0.5262, allocations: 33.76 MB / 0.6645 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/0.5343, allocations: 2.835 MB / 0.6673 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.5365, allocations: 1.521 MB / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.548, allocations: 6.305 MB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.548, allocations: 59.48 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.418e-06/0.548, allocations: 0 / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06119/0.6092, allocations: 18.9 MB / 0.6935 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.6094, allocations: 197.2 kB / 0.6936 GB, free: 10 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/0.6148, allocations: 3.752 MB / 0.6973 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003497/0.6152, allocations: 53.7 kB / 0.6974 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/0.6174, allocations: 2.937 MB / 0.7002 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008947/0.6183, allocations: 0.7481 MB / 0.701 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.6198, allocations: 1.175 MB / 0.7021 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6199, allocations: 305.1 kB / 0.7024 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.623, allocations: 2.096 MB / 0.7044 GB, free: 14.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/0.629, allocations: 5.66 MB / 0.71 GB, free: 7.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.6394, allocations: 8.418 MB / 0.7182 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.6395, allocations: 40 kB / 0.7182 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01811/0.6576, allocations: 8.694 MB / 0.7267 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.6577, allocations: 60 kB / 0.7268 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.6579, allocations: 124 kB / 0.7269 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004918/0.6628, allocations: 1.392 MB / 0.7283 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/0.6669, allocations: 1.294 MB / 0.7295 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2437/0.9106, allocations: 9.093 MB / 0.7384 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.9143, allocations: 299.2 kB / 0.7387 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005954/0.9149, allocations: 363.4 kB / 0.739 GB, free: 148 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.002258/0.9172, allocations: 1.891 MB / 0.7409 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.9176, allocations: 354.1 kB / 0.7412 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/0.9247, allocations: 3.748 MB / 0.7449 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.9247, allocations: 22.88 kB / 0.7449 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.9247, allocations: 7.875 kB / 0.7449 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.9248, allocations: 15.06 kB / 0.7449 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.9382, allocations: 8.099 MB / 0.7528 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.9383, allocations: 5.312 kB / 0.7528 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.9394, allocations: 253.4 kB / 0.7531 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003999/0.9434, allocations: 1.176 MB / 0.7542 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/0.9436, allocations: 35.98 kB / 0.7543 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009642/0.9532, allocations: 8.367 MB / 0.7624 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9532, allocations: 9.203 kB / 0.7624 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/0.9624, allocations: 6.293 MB / 0.7686 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008271/0.9632, allocations: 320 kB / 0.7689 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.9636, allocations: 24 kB / 0.7689 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.9649, allocations: 83.91 kB / 0.769 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.9651, allocations: 110.2 kB / 0.7691 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.9652, allocations: 59.92 kB / 0.7692 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00262/0.9679, allocations: 2.332 MB / 0.7714 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9679, allocations: 0 / 0.7714 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003746/0.9716, allocations: 0.9512 MB / 0.7724 GB, free: 124.2 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.009193/0.9808, allocations: 6.985 MB / 0.7792 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00645/0.9873, allocations: 5.017 MB / 0.7841 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9873, allocations: 0 / 0.7841 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.9891, allocations: 1.628 MB / 0.7857 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.9912, allocations: 407.4 kB / 0.7861 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/1.041, allocations: 44.34 MB / 0.8294 GB, free: 60.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/1.043, allocations: 2.965 MB / 0.8323 GB, free: 57.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003105/1.047, allocations: 1.815 MB / 0.834 GB, free: 55.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.048, allocations: 1.644 MB / 0.8356 GB, free: 53.97 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.048, allocations: 0 / 0.8356 GB, free: 53.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.161, allocations: 72.19 MB / 0.9061 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.74/29.91, allocations: 0 / 0.9061 GB, free: 14.22 MB / 0.5919 GB " [Timeout remaining time 630] (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: 32.962811978999525]