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.000992/0.000992, allocations: 76.48 kB / 19.92 MB, free: 4.633 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.00156/0.00156, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9221/0.9221, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1424/0.1424, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.89e-05, allocations: 2.281 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007616/0.007635, allocations: 9.161 MB / 416 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.01426, allocations: 3.674 MB / 419.7 MB, free: 5.344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.01565, allocations: 71.69 kB / 419.8 MB, free: 5.273 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.01809, allocations: 2.129 MB / 421.9 MB, free: 3.137 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.02114, allocations: 1.804 MB / 423.7 MB, free: 1.324 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.02218, allocations: 0.7599 MB / 424.4 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.02552, allocations: 4.172 MB / 428.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.02793, allocations: 2.436 MB / 431.1 MB, free: 9.887 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.03026, allocations: 1.995 MB / 433.1 MB, free: 7.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.03246, allocations: 2.007 MB / 435.1 MB, free: 5.875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.03297, allocations: 276 kB / 435.3 MB, free: 5.605 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.03426, allocations: 1.139 MB / 436.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.03536, allocations: 1.808 MB / 438.3 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008375/0.0362, allocations: 1.157 MB / 439.4 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.04048, allocations: 6.487 MB / 445.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.04049, allocations: 0 / 445.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.04049, allocations: 0 / 445.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.771e-05/0.04055, allocations: 4 kB / 445.9 MB, free: 10.98 MB / 426.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.005263/0.04581, allocations: 4.42 MB / 450.3 MB, free: 6.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.04585, allocations: 12.03 kB / 450.4 MB, free: 6.492 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004892/0.04634, allocations: 0.621 MB / 451 MB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03673/0.08307, allocations: 7.317 MB / 458.3 MB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0052/0.08827, allocations: 2.588 MB / 460.9 MB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.08838, allocations: 193.3 kB / 461.1 MB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/0.08896, allocations: 276.5 kB / 461.3 MB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009521/0.09848, allocations: 8.592 MB / 469.9 MB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.722e-05/0.09856, allocations: 43.62 kB / 470 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.09882, allocations: 127.9 kB / 470.1 MB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.1005, allocations: 1.735 MB / 471.8 MB, free: 284 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1707/0.2712, allocations: 7.124 MB / 479 MB, free: 93.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.2911, allocations: 32.4 MB / 0.4994 GB, free: 70.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/0.2959, allocations: 2.895 MB / 0.5022 GB, free: 69.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.2973, allocations: 1.524 MB / 0.5037 GB, free: 68.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007258/0.3046, allocations: 6.123 MB / 0.5097 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3046, allocations: 54.06 kB / 0.5097 GB, free: 66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 3.166e-06/0.3046, allocations: 0 / 0.5097 GB, free: 66 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03279/0.3374, allocations: 19.3 MB / 0.5286 GB, free: 55.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3374, allocations: 205.2 kB / 0.5288 GB, free: 55.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.3407, allocations: 4.2 MB / 0.5329 GB, free: 51.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.3408, allocations: 53.7 kB / 0.5329 GB, free: 51.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.3416, allocations: 2.9 MB / 0.5357 GB, free: 48.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.3419, allocations: 0.7384 MB / 0.5365 GB, free: 47.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/0.3427, allocations: 1.155 MB / 0.5376 GB, free: 46.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.583e-05/0.3427, allocations: 305.1 kB / 0.5379 GB, free: 46.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.3443, allocations: 2.034 MB / 0.5399 GB, free: 44.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.3465, allocations: 5.636 MB / 0.5454 GB, free: 36.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.3511, allocations: 8.281 MB / 0.5535 GB, free: 26.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.211e-05/0.3511, allocations: 37.81 kB / 0.5535 GB, free: 26.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.007992/0.3591, allocations: 8.613 MB / 0.5619 GB, free: 18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.3591, allocations: 60 kB / 0.562 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.624e-05/0.3592, allocations: 128 kB / 0.5621 GB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/0.3616, allocations: 1.469 MB / 0.5635 GB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.3634, allocations: 1.294 MB / 0.5648 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.3703, allocations: 8.836 MB / 0.5734 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.3726, allocations: 347.2 kB / 0.5737 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.3728, allocations: 363.9 kB / 0.5741 GB, free: 5.418 MB / 442.7 MB 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.00173/0.3746, allocations: 1.9 MB / 0.5759 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.3748, allocations: 353.7 kB / 0.5763 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.3791, allocations: 3.677 MB / 0.5799 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.3791, allocations: 23.98 kB / 0.5799 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3791, allocations: 8 kB / 0.5799 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3791, allocations: 7.969 kB / 0.5799 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.389, allocations: 7.747 MB / 0.5875 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.389, allocations: 3.938 kB / 0.5875 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.3896, allocations: 251.6 kB / 0.5877 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/0.3923, allocations: 1.26 MB / 0.589 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.3924, allocations: 31.94 kB / 0.589 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.4002, allocations: 8.119 MB / 0.5969 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4002, allocations: 4 kB / 0.5969 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.4066, allocations: 6.124 MB / 0.6029 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.4075, allocations: 0.5951 MB / 0.6035 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.4077, allocations: 31.94 kB / 0.6035 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/0.4086, allocations: 119.8 kB / 0.6036 GB, free: 7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.4088, allocations: 120.9 kB / 0.6037 GB, free: 6.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.4088, allocations: 44 kB / 0.6038 GB, free: 6.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002302/0.4111, allocations: 2.512 MB / 0.6062 GB, free: 4.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4111, allocations: 0 / 0.6062 GB, free: 4.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0029/0.414, allocations: 1.062 MB / 0.6073 GB, free: 3.281 MB / 474.7 MB 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.006987/0.421, allocations: 6.815 MB / 0.6139 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005413/0.4264, allocations: 4.849 MB / 0.6187 GB, free: 7.598 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4264, allocations: 0 / 0.6187 GB, free: 7.598 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.4278, allocations: 1.539 MB / 0.6202 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4292, allocations: 421.6 kB / 0.6206 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2121/0.6413, allocations: 44.54 MB / 0.6641 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.643, allocations: 2.427 MB / 0.6664 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002215/0.6452, allocations: 1.824 MB / 0.6682 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.6463, allocations: 1.663 MB / 0.6698 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.984e-06/0.6463, allocations: 3 kB / 0.6698 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07489/0.7212, allocations: 70.11 MB / 0.7383 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.536/10.26, allocations: 11.44 kB / 0.7383 GB, free: 104.1 MB / 0.5105 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/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: 12.574121145531535]