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.0008424/0.0008424, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008376/0.0008376, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9134/0.9134, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.2355/0.2355, allocations: 34.24 MB / 294.9 MB, free: 0.6914 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.454e-06/2.454e-06, allocations: 3.984 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.912e-05, allocations: 4.391 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1762/0.1762, allocations: 9.111 MB / 451.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.182, allocations: 3.693 MB / 455 MB, free: 37.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.184, allocations: 73.78 kB / 455.1 MB, free: 37.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.1867, allocations: 2.125 MB / 457.2 MB, free: 36.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.1902, allocations: 1.755 MB / 458.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1913, allocations: 0.7674 MB / 459.7 MB, free: 35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003754/0.1951, allocations: 4.403 MB / 464.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1972, allocations: 2.405 MB / 466.5 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.1992, allocations: 1.968 MB / 468.5 MB, free: 31.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.2011, allocations: 2.009 MB / 470.5 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004702/0.2016, allocations: 269.9 kB / 470.8 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2031, allocations: 1.132 MB / 471.9 MB, free: 30.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.2042, allocations: 1.785 MB / 473.7 MB, free: 29.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.206, allocations: 1.131 MB / 474.8 MB, free: 29.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006953/0.2129, allocations: 6.421 MB / 481.2 MB, free: 27.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2129, allocations: 0 / 481.2 MB, free: 27.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2129, allocations: 5.281 kB / 481.2 MB, free: 27.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003105/0.2133, allocations: 0 / 481.2 MB, free: 27.17 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.0124/0.2256, allocations: 4.392 MB / 485.6 MB, free: 24.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2257, allocations: 10.47 kB / 485.6 MB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.227, allocations: 0.6232 MB / 486.3 MB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04158/0.2686, allocations: 7.315 MB / 493.6 MB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.2741, allocations: 2.411 MB / 496 MB, free: 22.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.2742, allocations: 190.2 kB / 496.2 MB, free: 22.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.2751, allocations: 274.7 kB / 496.4 MB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.2875, allocations: 8.6 MB / 0.4932 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.2876, allocations: 48.12 kB / 0.4932 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.2879, allocations: 126.4 kB / 0.4934 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/0.2897, allocations: 1.744 MB / 0.4951 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009188/0.2989, allocations: 7.146 MB / 0.502 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/0.328, allocations: 32.32 MB / 0.5336 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.3333, allocations: 2.918 MB / 0.5365 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3348, allocations: 1.506 MB / 0.5379 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00743/0.3422, allocations: 6.125 MB / 0.5439 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3422, allocations: 59.44 kB / 0.544 GB, free: 12.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 4.348e-06/0.3422, allocations: 0 / 0.544 GB, free: 12.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=188): time 0.03401/0.3762, allocations: 19.18 MB / 0.5627 GB, free: 9.051 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.3763, allocations: 205.2 kB / 0.5629 GB, free: 8.809 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.3801, allocations: 4.137 MB / 0.5669 GB, free: 4.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3802, allocations: 53.7 kB / 0.567 GB, free: 4.621 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.3814, allocations: 2.902 MB / 0.5698 GB, free: 1.691 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.3819, allocations: 0.7404 MB / 0.5705 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.3839, allocations: 1.152 MB / 0.5717 GB, free: 15.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.3839, allocations: 305.1 kB / 0.572 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.3859, allocations: 2.038 MB / 0.574 GB, free: 13.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/0.3894, allocations: 5.643 MB / 0.5795 GB, free: 6.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006092/0.3955, allocations: 8.289 MB / 0.5876 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.928e-05/0.3955, allocations: 36 kB / 0.5876 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.009432/0.4049, allocations: 8.643 MB / 0.596 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.405, allocations: 60 kB / 0.5961 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.704e-05/0.4051, allocations: 124.8 kB / 0.5962 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.4076, allocations: 1.457 MB / 0.5976 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.4102, allocations: 1.298 MB / 0.5989 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008783/0.419, allocations: 8.838 MB / 0.6075 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.4226, allocations: 343.6 kB / 0.6079 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/0.4232, allocations: 356 kB / 0.6082 GB, free: 6.699 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.002529/0.4258, allocations: 1.896 MB / 0.61 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/0.4264, allocations: 349.7 kB / 0.6104 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005009/0.4314, allocations: 3.692 MB / 0.614 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.4314, allocations: 23.94 kB / 0.614 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4314, allocations: 8 kB / 0.614 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.4315, allocations: 7.969 kB / 0.614 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.4425, allocations: 7.758 MB / 0.6216 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4425, allocations: 4 kB / 0.6216 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.4432, allocations: 247.6 kB / 0.6218 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.4456, allocations: 1.257 MB / 0.6231 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.4457, allocations: 31.98 kB / 0.6231 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1824/0.6281, allocations: 8.124 MB / 0.631 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6281, allocations: 0 / 0.631 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006393/0.6345, allocations: 6.151 MB / 0.637 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000945/0.6354, allocations: 348.5 kB / 0.6374 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6357, allocations: 32.39 kB / 0.6374 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.6365, allocations: 123.3 kB / 0.6375 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.6368, allocations: 118.9 kB / 0.6376 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/0.6369, allocations: 49.97 kB / 0.6377 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002644/0.6395, allocations: 2.465 MB / 0.6401 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.6395, allocations: 0 / 0.6401 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00334/0.6428, allocations: 1.036 MB / 0.6411 GB, free: 148.5 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.006686/0.6495, allocations: 6.798 MB / 0.6477 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005615/0.6551, allocations: 4.875 MB / 0.6525 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6552, allocations: 0 / 0.6525 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.6566, allocations: 1.55 MB / 0.654 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.6585, allocations: 412 kB / 0.6544 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04838/0.7069, allocations: 44.35 MB / 0.6977 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.709, allocations: 2.419 MB / 0.7001 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002467/0.7115, allocations: 1.811 MB / 0.7019 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.7127, allocations: 1.653 MB / 0.7035 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/0.7127, allocations: 0 / 0.7035 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07027/0.783, allocations: 69.48 MB / 0.7713 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.87, allocations: 26.25 kB / 0.7713 GB, free: 43.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 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.mat","/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: 13.137047978118062]