Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009853/0.0009853, allocations: 92.27 kB / 20.95 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000825/0.000825, allocations: 152.9 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8684/0.8684, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 34.24 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.906e-05, allocations: 8.641 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006662/0.006681, allocations: 9.116 MB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.01199, allocations: 3.685 MB / 389.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.01268, allocations: 75.62 kB / 389.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.01481, allocations: 2.149 MB / 391.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.01693, allocations: 1.785 MB / 393.5 MB, free: 2.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008661/0.01779, allocations: 0.7599 MB / 394.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003178/0.02097, allocations: 4.399 MB / 398.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.02285, allocations: 2.492 MB / 401.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.02437, allocations: 1.972 MB / 403.2 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.02604, allocations: 1.995 MB / 405.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.02629, allocations: 272 kB / 405.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.02743, allocations: 1.131 MB / 406.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009377/0.02837, allocations: 1.788 MB / 408.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.02912, allocations: 1.133 MB / 409.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.03306, allocations: 6.425 MB / 415.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.03307, allocations: 0 / 415.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03307, allocations: 0 / 415.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.0331, allocations: 0 / 415.9 MB, free: 12.05 MB / 394.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.004795/0.0379, allocations: 4.393 MB / 420.3 MB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.03794, allocations: 12.03 kB / 420.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004626/0.0384, allocations: 0.6288 MB / 420.9 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0389/0.0773, allocations: 7.727 MB / 428.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/0.08135, allocations: 2.416 MB / 431.1 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.08146, allocations: 197.3 kB / 431.3 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004911/0.08195, allocations: 276.5 kB / 431.5 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/0.09031, allocations: 8.604 MB / 440.1 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/0.09039, allocations: 39.66 kB / 440.2 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.09063, allocations: 131.9 kB / 440.3 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.09221, allocations: 1.743 MB / 442 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1464/0.2386, allocations: 7.138 MB / 449.2 MB, free: 95.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/0.2571, allocations: 32.4 MB / 481.6 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/0.2616, allocations: 2.915 MB / 484.5 MB, free: 72.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.2628, allocations: 1.521 MB / 486 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/0.2694, allocations: 6.114 MB / 492.1 MB, free: 68.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2694, allocations: 54.47 kB / 492.2 MB, free: 68.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.627e-06/0.2694, allocations: 0 / 492.2 MB, free: 68.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.03423/0.3036, allocations: 19.25 MB / 0.4995 GB, free: 59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3037, allocations: 197.2 kB / 0.4996 GB, free: 58.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.3075, allocations: 4.132 MB / 0.5037 GB, free: 55.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3076, allocations: 53.7 kB / 0.5037 GB, free: 55.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/0.3085, allocations: 2.903 MB / 0.5066 GB, free: 52.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.3089, allocations: 0.7353 MB / 0.5073 GB, free: 51.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008721/0.3098, allocations: 1.151 MB / 0.5084 GB, free: 50.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.3098, allocations: 306.8 kB / 0.5087 GB, free: 50.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.3116, allocations: 2.043 MB / 0.5107 GB, free: 48.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.314, allocations: 5.643 MB / 0.5162 GB, free: 41.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004808/0.3188, allocations: 8.296 MB / 0.5243 GB, free: 31.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/0.3189, allocations: 36 kB / 0.5243 GB, free: 31.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.008506/0.3274, allocations: 8.952 MB / 0.5331 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.3274, allocations: 56 kB / 0.5331 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.52e-05/0.3275, allocations: 128 kB / 0.5333 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.3307, allocations: 1.814 MB / 0.535 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.3326, allocations: 1.298 MB / 0.5363 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007732/0.3403, allocations: 8.89 MB / 0.545 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.3445, allocations: 351.3 kB / 0.5453 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005737/0.3451, allocations: 355.9 kB / 0.5457 GB, free: 9.141 MB / 410.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.002775/0.3479, allocations: 1.887 MB / 0.5475 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007912/0.3487, allocations: 401.7 kB / 0.5479 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.3535, allocations: 3.692 MB / 0.5515 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.3535, allocations: 20 kB / 0.5515 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.3535, allocations: 8 kB / 0.5515 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.3535, allocations: 11.97 kB / 0.5515 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.3661, allocations: 7.756 MB / 0.5591 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.3662, allocations: 0 / 0.5591 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.3671, allocations: 259.6 kB / 0.5593 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/0.371, allocations: 1.6 MB / 0.5609 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.3712, allocations: 35.92 kB / 0.5609 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009693/0.3809, allocations: 8.163 MB / 0.5689 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3809, allocations: 0 / 0.5689 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008974/0.3899, allocations: 6.2 MB / 0.575 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.3913, allocations: 345.5 kB / 0.5753 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.3918, allocations: 31.94 kB / 0.5753 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.3928, allocations: 123.8 kB / 0.5754 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.3932, allocations: 109.1 kB / 0.5755 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.3933, allocations: 51.98 kB / 0.5756 GB, free: 10.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003851/0.3971, allocations: 2.469 MB / 0.578 GB, free: 7.836 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.3971, allocations: 0 / 0.578 GB, free: 7.836 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005562/0.4027, allocations: 1.041 MB / 0.579 GB, free: 6.797 MB / 442.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.008241/0.4109, allocations: 6.857 MB / 0.5857 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006261/0.4172, allocations: 4.876 MB / 0.5905 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4172, allocations: 0 / 0.5905 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.4189, allocations: 1.549 MB / 0.592 GB, free: 9.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.4211, allocations: 420.1 kB / 0.5924 GB, free: 9.102 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1768/0.598, allocations: 44.72 MB / 0.6361 GB, free: 112.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.6003, allocations: 2.417 MB / 0.6384 GB, free: 112.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002756/0.603, allocations: 1.82 MB / 0.6402 GB, free: 112.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.6043, allocations: 1.654 MB / 0.6418 GB, free: 110.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6043, allocations: 0 / 0.6418 GB, free: 110.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/0.6793, allocations: 69.83 MB / 0.71 GB, free: 55.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.95, allocations: 10.31 kB / 0.71 GB, free: 55.21 MB / 458.7 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.919760985299945]