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.001447/0.001447, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.001021/0.001021, allocations: 166 kB / 23.95 MB, free: 0.5938 MB / 18.57 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 0.8974/0.8974, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2475/0.2475, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 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 2.013e-06/2.013e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.456e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1856/0.1857, allocations: 9.113 MB / 451.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.1909, allocations: 3.695 MB / 455 MB, free: 36.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.1921, allocations: 72.69 kB / 455.1 MB, free: 36.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.1941, allocations: 2.121 MB / 457.2 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.197, allocations: 1.768 MB / 458.9 MB, free: 35.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1981, allocations: 0.7575 MB / 459.7 MB, free: 34.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.2015, allocations: 4.412 MB / 464.1 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.2035, allocations: 2.409 MB / 466.5 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.2055, allocations: 1.972 MB / 468.5 MB, free: 31.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.207, allocations: 1.999 MB / 470.5 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.2074, allocations: 271 kB / 470.8 MB, free: 30.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.2086, allocations: 1.129 MB / 471.9 MB, free: 30.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008042/0.2094, allocations: 1.777 MB / 473.7 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.2102, allocations: 1.136 MB / 474.8 MB, free: 29.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.215, allocations: 6.422 MB / 481.2 MB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.215, allocations: 0 / 481.2 MB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.215, allocations: 3.938 kB / 481.2 MB, free: 27.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.2151, allocations: 0.9688 kB / 481.2 MB, free: 27.04 MB / 410.7 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.008655/0.2238, allocations: 4.396 MB / 485.6 MB, free: 24.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2238, allocations: 9.656 kB / 485.6 MB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.2249, allocations: 0.6191 MB / 486.3 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04133/0.2662, allocations: 7.323 MB / 493.6 MB, free: 23.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/0.2711, allocations: 2.406 MB / 496 MB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2712, allocations: 195.2 kB / 496.2 MB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007293/0.272, allocations: 263.5 kB / 496.4 MB, free: 21.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.2842, allocations: 8.607 MB / 0.4932 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.2844, allocations: 41.52 kB / 0.4932 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.2846, allocations: 130.4 kB / 0.4934 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/0.2864, allocations: 1.743 MB / 0.4951 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008861/0.2953, allocations: 7.142 MB / 0.502 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.3238, allocations: 32.32 MB / 0.5336 GB, free: 6.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/0.3291, allocations: 2.923 MB / 0.5365 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.3306, allocations: 1.51 MB / 0.5379 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00734/0.3379, allocations: 6.117 MB / 0.5439 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3379, allocations: 55.44 kB / 0.544 GB, free: 12.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 3.597e-06/0.3379, allocations: 0 / 0.544 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=188): time 0.03507/0.373, allocations: 19.19 MB / 0.5627 GB, free: 8.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.3731, allocations: 201.2 kB / 0.5629 GB, free: 8.672 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.3784, allocations: 4.137 MB / 0.5669 GB, free: 4.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004884/0.3788, allocations: 53.7 kB / 0.567 GB, free: 4.484 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.3803, allocations: 2.902 MB / 0.5698 GB, free: 1.555 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/0.3809, allocations: 0.7443 MB / 0.5705 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.3821, allocations: 1.152 MB / 0.5717 GB, free: 15.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.3822, allocations: 301.1 kB / 0.572 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.3842, allocations: 2.041 MB / 0.574 GB, free: 13.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.3877, allocations: 5.639 MB / 0.5795 GB, free: 5.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/0.3944, allocations: 8.292 MB / 0.5876 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.231e-05/0.3945, allocations: 36 kB / 0.5876 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01181/0.4063, allocations: 8.632 MB / 0.596 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.4063, allocations: 60 kB / 0.5961 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.4064, allocations: 132.1 kB / 0.5962 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.4092, allocations: 1.457 MB / 0.5976 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.4116, allocations: 1.298 MB / 0.5989 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008622/0.4202, allocations: 8.838 MB / 0.6075 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.4233, allocations: 351.5 kB / 0.6079 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005574/0.4239, allocations: 356 kB / 0.6082 GB, free: 6.555 MB / 0.5105 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.00248/0.4264, allocations: 1.888 MB / 0.61 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/0.4269, allocations: 349.7 kB / 0.6104 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.4319, allocations: 3.696 MB / 0.614 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.4319, allocations: 23.94 kB / 0.614 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.4319, allocations: 8 kB / 0.614 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.432, allocations: 7.969 kB / 0.614 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.443, allocations: 7.758 MB / 0.6216 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.443, allocations: 4 kB / 0.6216 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.4437, allocations: 255.6 kB / 0.6219 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.4461, allocations: 1.253 MB / 0.6231 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.4462, allocations: 32 kB / 0.6231 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1907/0.637, allocations: 8.119 MB / 0.631 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.637, allocations: 0 / 0.631 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/0.644, allocations: 6.158 MB / 0.637 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/0.645, allocations: 345.4 kB / 0.6374 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.6453, allocations: 29.75 kB / 0.6374 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/0.6461, allocations: 122.2 kB / 0.6375 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.6464, allocations: 117.1 kB / 0.6376 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.6465, allocations: 51.94 kB / 0.6377 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002717/0.6492, allocations: 2.46 MB / 0.6401 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6492, allocations: 0 / 0.6401 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003757/0.6529, allocations: 1.04 MB / 0.6411 GB, free: 148.2 MB / 0.5261 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.007041/0.66, allocations: 6.797 MB / 0.6477 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005491/0.6655, allocations: 4.874 MB / 0.6525 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6655, allocations: 0 / 0.6525 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.667, allocations: 1.555 MB / 0.654 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6688, allocations: 407.8 kB / 0.6544 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05145/0.7203, allocations: 44.36 MB / 0.6977 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.7226, allocations: 2.413 MB / 0.7001 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002539/0.7251, allocations: 1.822 MB / 0.7019 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.7265, allocations: 1.655 MB / 0.7035 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/0.7265, allocations: 4 kB / 0.7035 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07587/0.8024, allocations: 69.47 MB / 0.7713 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.851/10.65, allocations: 14.88 kB / 0.7713 GB, free: 43.02 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/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: 12.799918591976166]