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.001263/0.001263, allocations: 114.2 kB / 19.69 MB, free: 2.207 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.001461/0.001461, allocations: 217.3 kB / 23.01 MB, free: 5.062 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.345/1.345, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2112/0.2112, allocations: 44.23 MB / 330.3 MB, free: 9.531 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.002247/0.002247, allocations: 71.89 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1107, allocations: 61.04 MB / 0.5161 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01211/0.1229, allocations: 10.48 MB / 0.5264 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007812/0.1307, allocations: 3.916 MB / 0.5302 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.132, allocations: 75.62 kB / 0.5303 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004125/0.1361, allocations: 2.11 MB / 0.5323 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.1405, allocations: 1.751 MB / 0.5341 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1421, allocations: 0.694 MB / 0.5347 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005428/0.1476, allocations: 3.814 MB / 0.5385 GB, free: 408 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2063/0.3538, allocations: 2.167 MB / 0.5406 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.3561, allocations: 1.34 MB / 0.5419 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.3592, allocations: 2.015 MB / 0.5438 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.3601, allocations: 267.9 kB / 0.5441 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3625, allocations: 1.227 MB / 0.5453 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.3644, allocations: 1.728 MB / 0.547 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.3667, allocations: 1.974 MB / 0.5489 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.3756, allocations: 6.407 MB / 0.5552 GB, free: 7.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3756, allocations: 0 / 0.5552 GB, free: 7.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3756, allocations: 0 / 0.5552 GB, free: 7.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002272/0.3758, allocations: 0.9375 kB / 0.5552 GB, free: 7.941 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.01254/0.3884, allocations: 4.412 MB / 0.5595 GB, free: 5.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3884, allocations: 9.031 kB / 0.5595 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001325/0.3897, allocations: 0.6268 MB / 0.5601 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08125/0.471, allocations: 7.054 MB / 0.567 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007525/0.4785, allocations: 2.835 MB / 0.5698 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4786, allocations: 193.2 kB / 0.5699 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.4796, allocations: 279.6 kB / 0.5702 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.4938, allocations: 8.509 MB / 0.5785 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.4939, allocations: 47.09 kB / 0.5786 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.4943, allocations: 122.5 kB / 0.5787 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/0.4968, allocations: 1.734 MB / 0.5804 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.5106, allocations: 7.161 MB / 0.5874 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04577/0.5563, allocations: 33.78 MB / 0.6204 GB, free: 4.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008503/0.5648, allocations: 2.819 MB / 0.6231 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.5671, allocations: 1.519 MB / 0.6246 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5789, allocations: 6.292 MB / 0.6307 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.5789, allocations: 58.41 kB / 0.6308 GB, free: 9.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 4.349e-06/0.5789, allocations: 0 / 0.6308 GB, free: 9.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06277/0.6417, allocations: 18.96 MB / 0.6493 GB, free: 6.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.6418, allocations: 209.2 kB / 0.6495 GB, free: 6.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/0.6478, allocations: 3.765 MB / 0.6532 GB, free: 2.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.6482, allocations: 56.28 kB / 0.6532 GB, free: 2.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.6506, allocations: 2.941 MB / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.6516, allocations: 0.7446 MB / 0.6568 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/0.6535, allocations: 1.179 MB / 0.658 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6536, allocations: 304.6 kB / 0.6583 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.6569, allocations: 2.088 MB / 0.6603 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006136/0.663, allocations: 5.644 MB / 0.6658 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.6739, allocations: 8.398 MB / 0.674 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.674, allocations: 40 kB / 0.6741 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02009/0.6941, allocations: 8.682 MB / 0.6826 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.6942, allocations: 56 kB / 0.6826 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/0.6944, allocations: 124 kB / 0.6827 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/0.6997, allocations: 1.395 MB / 0.6841 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.7041, allocations: 1.302 MB / 0.6854 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/0.7185, allocations: 9.105 MB / 0.6942 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/0.7229, allocations: 295.7 kB / 0.6945 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008706/0.7238, allocations: 360 kB / 0.6949 GB, free: 4.965 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.003676/0.7275, allocations: 1.896 MB / 0.6967 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.7282, allocations: 357.6 kB / 0.6971 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008856/0.737, allocations: 3.742 MB / 0.7007 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/0.7371, allocations: 20 kB / 0.7007 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.7371, allocations: 12 kB / 0.7008 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/0.7371, allocations: 7.969 kB / 0.7008 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.7553, allocations: 8.102 MB / 0.7087 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.7553, allocations: 4 kB / 0.7087 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.7565, allocations: 251.6 kB / 0.7089 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/0.7611, allocations: 1.171 MB / 0.7101 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.7613, allocations: 31.98 kB / 0.7101 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.7744, allocations: 8.375 MB / 0.7183 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7744, allocations: 0 / 0.7183 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.7865, allocations: 6.252 MB / 0.7244 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/0.7886, allocations: 0.556 MB / 0.7249 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005612/0.7892, allocations: 28 kB / 0.7249 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.7906, allocations: 79.19 kB / 0.725 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.7909, allocations: 121.1 kB / 0.7251 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.7911, allocations: 55.98 kB / 0.7252 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004288/0.7954, allocations: 2.348 MB / 0.7275 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7954, allocations: 3.938 kB / 0.7275 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005045/0.8004, allocations: 0.9609 MB / 0.7284 GB, free: 2.449 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.01291/0.8133, allocations: 6.969 MB / 0.7352 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009593/0.8229, allocations: 5.015 MB / 0.7401 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8229, allocations: 0 / 0.7401 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.8256, allocations: 1.616 MB / 0.7417 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8282, allocations: 407.8 kB / 0.7421 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2878/1.116, allocations: 44.4 MB / 0.7854 GB, free: 205.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004445/1.121, allocations: 2.97 MB / 0.7884 GB, free: 204.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004551/1.125, allocations: 1.818 MB / 0.7901 GB, free: 204.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/1.127, allocations: 1.655 MB / 0.7917 GB, free: 204.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.422e-06/1.127, allocations: 0 / 0.7917 GB, free: 204.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.243, allocations: 72.52 MB / 0.8626 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.85/29.09, allocations: 14.61 kB / 0.8626 GB, free: 148.4 MB / 0.6075 GB " [Timeout remaining time 631] (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: 31.99075513700518]