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.0008749/0.0008749, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0008496/0.0008496, allocations: 169.9 kB / 23.32 MB, free: 1.203 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.866/0.866, allocations: 158.6 MB / 185.1 MB, free: 3.004 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.1271/0.1271, allocations: 32.38 MB / 269.7 MB, free: 14.91 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 1.323e-06/1.323e-06, allocations: 0 / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.001e-05, allocations: 6.078 kB / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006837/0.006857, allocations: 9.158 MB / 416.2 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.01149, allocations: 3.682 MB / 419.9 MB, free: 5.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.01215, allocations: 71.62 kB / 420 MB, free: 5.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.0141, allocations: 2.125 MB / 422.1 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.01619, allocations: 1.812 MB / 423.9 MB, free: 1.207 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.01703, allocations: 0.7443 MB / 424.7 MB, free: 472 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.01967, allocations: 4.183 MB / 428.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.02137, allocations: 2.436 MB / 431.3 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.02295, allocations: 1.984 MB / 433.3 MB, free: 7.785 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.02451, allocations: 2.018 MB / 435.3 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.02478, allocations: 272 kB / 435.5 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.02585, allocations: 1.135 MB / 436.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000981/0.02683, allocations: 1.804 MB / 438.5 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007924/0.02762, allocations: 1.16 MB / 439.6 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.03152, allocations: 6.491 MB / 446.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.03152, allocations: 3.938 kB / 446.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03152, allocations: 4 kB / 446.1 MB, free: 10.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.983e-05/0.03158, allocations: 0 / 446.1 MB, free: 10.86 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.00513/0.03671, allocations: 4.424 MB / 450.6 MB, free: 6.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.03676, allocations: 8.031 kB / 450.6 MB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004751/0.03723, allocations: 0.621 MB / 451.2 MB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03745/0.07468, allocations: 7.317 MB / 458.5 MB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004983/0.07967, allocations: 2.608 MB / 461.1 MB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.07978, allocations: 193.3 kB / 461.3 MB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/0.08037, allocations: 268.5 kB / 461.6 MB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008865/0.08924, allocations: 8.6 MB / 470.2 MB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.06e-05/0.08931, allocations: 35.7 kB / 470.2 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.08953, allocations: 127.9 kB / 470.3 MB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001534/0.09106, allocations: 1.739 MB / 472.1 MB, free: 148 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1838/0.2748, allocations: 7.123 MB / 479.2 MB, free: 93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.2938, allocations: 32.47 MB / 0.4997 GB, free: 70.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.2982, allocations: 2.901 MB / 0.5025 GB, free: 69.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.2994, allocations: 1.527 MB / 0.504 GB, free: 68.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005932/0.3053, allocations: 6.117 MB / 0.51 GB, free: 66.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3054, allocations: 60.81 kB / 0.51 GB, free: 66.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 3.357e-06/0.3054, allocations: 0 / 0.51 GB, free: 66.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.0306/0.336, allocations: 19.31 MB / 0.5289 GB, free: 55.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.336, allocations: 201.2 kB / 0.5291 GB, free: 55.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.3392, allocations: 4.191 MB / 0.5332 GB, free: 51.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/0.3393, allocations: 53.7 kB / 0.5332 GB, free: 50.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008126/0.3401, allocations: 2.906 MB / 0.5361 GB, free: 48.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.3404, allocations: 0.7345 MB / 0.5368 GB, free: 47.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/0.3411, allocations: 1.159 MB / 0.5379 GB, free: 46.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.462e-05/0.3412, allocations: 313 kB / 0.5382 GB, free: 45.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.3426, allocations: 2.03 MB / 0.5402 GB, free: 43.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.3448, allocations: 5.636 MB / 0.5457 GB, free: 36.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/0.3491, allocations: 8.272 MB / 0.5538 GB, free: 26.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/0.3491, allocations: 36 kB / 0.5538 GB, free: 26.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.007506/0.3566, allocations: 8.627 MB / 0.5622 GB, free: 17.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.3567, allocations: 60 kB / 0.5623 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/0.3567, allocations: 124 kB / 0.5624 GB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.359, allocations: 1.462 MB / 0.5638 GB, free: 16.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3607, allocations: 1.294 MB / 0.5651 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/0.3674, allocations: 8.834 MB / 0.5737 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.3693, allocations: 347.5 kB / 0.5741 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.3695, allocations: 355.9 kB / 0.5744 GB, free: 5.164 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.00161/0.3711, allocations: 1.898 MB / 0.5762 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.3714, allocations: 349.7 kB / 0.5766 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.3755, allocations: 3.683 MB / 0.5802 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.3756, allocations: 26.03 kB / 0.5802 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3756, allocations: 12 kB / 0.5802 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3756, allocations: 7.969 kB / 0.5802 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/0.3848, allocations: 7.747 MB / 0.5878 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3848, allocations: 4 kB / 0.5878 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.3854, allocations: 255.6 kB / 0.588 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.3878, allocations: 1.256 MB / 0.5893 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-05/0.3879, allocations: 35.94 kB / 0.5893 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007695/0.3956, allocations: 8.119 MB / 0.5972 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3956, allocations: 0 / 0.5972 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.4021, allocations: 6.138 MB / 0.6032 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009747/0.403, allocations: 0.5872 MB / 0.6038 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.4033, allocations: 35.94 kB / 0.6038 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.404, allocations: 119.8 kB / 0.6039 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.4042, allocations: 120.9 kB / 0.6041 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.4043, allocations: 48 kB / 0.6041 GB, free: 6.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00277/0.4071, allocations: 2.508 MB / 0.6065 GB, free: 4.078 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4071, allocations: 0 / 0.6065 GB, free: 4.078 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00312/0.4102, allocations: 1.062 MB / 0.6076 GB, free: 3.016 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.007267/0.4175, allocations: 6.798 MB / 0.6142 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005908/0.4234, allocations: 4.854 MB / 0.619 GB, free: 7.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4234, allocations: 3.984 kB / 0.619 GB, free: 7.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4248, allocations: 1.542 MB / 0.6205 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4263, allocations: 413.6 kB / 0.6209 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2064/0.6327, allocations: 44.55 MB / 0.6644 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.6344, allocations: 2.426 MB / 0.6667 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002204/0.6366, allocations: 1.831 MB / 0.6685 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.6377, allocations: 1.661 MB / 0.6701 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.6377, allocations: 0 / 0.6701 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07199/0.7096, allocations: 70.09 MB / 0.7386 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.95, allocations: 19.88 kB / 0.7386 GB, free: 103.8 MB / 0.5105 GB " [Timeout remaining time 649] (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: 13.079769721254706]