Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00174/0.00174, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002344/0.002344, allocations: 209.8 kB / 22.98 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002499/0.002499, allocations: 71.91 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1201, allocations: 61.04 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01231/0.1324, allocations: 9.162 MB / 0.5251 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.1406, allocations: 3.683 MB / 0.5287 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.1422, allocations: 71.69 kB / 0.5288 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.1465, allocations: 2.024 MB / 0.5307 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.1511, allocations: 1.755 MB / 0.5325 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1528, allocations: 0.7018 MB / 0.5331 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005567/0.1584, allocations: 3.814 MB / 0.5369 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2198/0.3782, allocations: 2.153 MB / 0.539 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.3804, allocations: 1.341 MB / 0.5403 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.3835, allocations: 1.914 MB / 0.5422 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008018/0.3843, allocations: 265.5 kB / 0.5424 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.3867, allocations: 1.087 MB / 0.5435 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.3886, allocations: 1.729 MB / 0.5452 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.3906, allocations: 1.478 MB / 0.5466 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.3996, allocations: 6.433 MB / 0.5529 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3996, allocations: 1.344 kB / 0.5529 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3996, allocations: 0 / 0.5529 GB, free: 9.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000264/0.3999, allocations: 0 / 0.5529 GB, free: 9.121 MB / 414.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.01983/0.4197, allocations: 4.41 MB / 0.5572 GB, free: 7.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.4198, allocations: 9.812 kB / 0.5572 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/0.4226, allocations: 0.6285 MB / 0.5578 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08612/0.5087, allocations: 7.052 MB / 0.5647 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008181/0.5169, allocations: 2.84 MB / 0.5675 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.5171, allocations: 198.6 kB / 0.5677 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.5185, allocations: 275.5 kB / 0.5679 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.5332, allocations: 8.581 MB / 0.5763 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.5333, allocations: 46.38 kB / 0.5764 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004146/0.5337, allocations: 126.2 kB / 0.5765 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002675/0.5364, allocations: 1.743 MB / 0.5782 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.5502, allocations: 7.134 MB / 0.5851 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04509/0.5953, allocations: 32.14 MB / 0.6165 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/0.6039, allocations: 2.815 MB / 0.6193 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.6067, allocations: 1.522 MB / 0.6208 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.6199, allocations: 5.942 MB / 0.6266 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.62, allocations: 55.03 kB / 0.6266 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 6.553e-06/0.62, allocations: 3.938 kB / 0.6266 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06652/0.6865, allocations: 19.04 MB / 0.6452 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.6866, allocations: 198.5 kB / 0.6454 GB, free: 11.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007511/0.6942, allocations: 3.978 MB / 0.6493 GB, free: 7.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.6945, allocations: 53.69 kB / 0.6493 GB, free: 7.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002937/0.6975, allocations: 2.938 MB / 0.6522 GB, free: 4.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.6987, allocations: 0.7425 MB / 0.6529 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002977/0.7016, allocations: 1.174 MB / 0.6541 GB, free: 2.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7018, allocations: 305.1 kB / 0.6544 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/0.7057, allocations: 2.096 MB / 0.6564 GB, free: 336 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007437/0.7131, allocations: 5.702 MB / 0.662 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/0.7254, allocations: 8.392 MB / 0.6702 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/0.7256, allocations: 36 kB / 0.6702 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01944/0.745, allocations: 8.684 MB / 0.6787 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.7452, allocations: 64.03 kB / 0.6788 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/0.7455, allocations: 125.5 kB / 0.6789 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/0.7507, allocations: 1.389 MB / 0.6802 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/0.7553, allocations: 1.291 MB / 0.6815 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.7706, allocations: 9.001 MB / 0.6903 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/0.7756, allocations: 300.8 kB / 0.6906 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/0.7771, allocations: 360 kB / 0.6909 GB, free: 9.742 MB / 0.5294 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.005033/0.7821, allocations: 1.892 MB / 0.6928 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009471/0.7831, allocations: 365.5 kB / 0.6931 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/0.7929, allocations: 3.739 MB / 0.6968 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.7929, allocations: 20 kB / 0.6968 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.7929, allocations: 8 kB / 0.6968 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.793, allocations: 11.97 kB / 0.6968 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/0.8148, allocations: 7.777 MB / 0.7044 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.8149, allocations: 0 / 0.7044 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.8162, allocations: 251.6 kB / 0.7046 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/0.8209, allocations: 1.177 MB / 0.7058 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/0.8212, allocations: 39.64 kB / 0.7058 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.8352, allocations: 8.274 MB / 0.7139 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8353, allocations: 0 / 0.7139 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.8487, allocations: 6.261 MB / 0.72 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/0.8512, allocations: 0.5521 MB / 0.7206 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009102/0.8521, allocations: 36.05 kB / 0.7206 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.8541, allocations: 81.7 kB / 0.7207 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/0.8545, allocations: 121 kB / 0.7208 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.8547, allocations: 48 kB / 0.7208 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005616/0.8603, allocations: 2.344 MB / 0.7231 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.8603, allocations: 0 / 0.7231 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007074/0.8674, allocations: 0.9668 MB / 0.7241 GB, free: 7.637 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.0144/0.8818, allocations: 6.976 MB / 0.7309 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009278/0.8911, allocations: 4.998 MB / 0.7358 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.8911, allocations: 2 kB / 0.7358 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.8939, allocations: 1.617 MB / 0.7373 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.8972, allocations: 403.7 kB / 0.7377 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2884/1.186, allocations: 44.4 MB / 0.7811 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003413/1.189, allocations: 2.425 MB / 0.7834 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004203/1.193, allocations: 1.819 MB / 0.7852 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.195, allocations: 1.654 MB / 0.7868 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.195, allocations: 0 / 0.7868 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.305, allocations: 68.05 MB / 0.8533 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.54, allocations: 12.05 kB / 0.8533 GB, free: 131.8 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.665101279038936]