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.0009287/0.0009287, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.001047/0.001047, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 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.9276/0.9276, allocations: 177 MB / 204.1 MB, free: 5.738 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.2487/0.2487, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.432e-05, allocations: 6.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1937/0.1937, allocations: 9.105 MB / 451.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.1989, allocations: 3.694 MB / 455 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.2001, allocations: 74.22 kB / 455 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.2023, allocations: 2.131 MB / 457.2 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.2052, allocations: 1.763 MB / 458.9 MB, free: 35.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2062, allocations: 0.761 MB / 459.7 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.2097, allocations: 4.404 MB / 464.1 MB, free: 33.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.212, allocations: 2.41 MB / 466.5 MB, free: 32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.2143, allocations: 1.974 MB / 468.5 MB, free: 31.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.2159, allocations: 2.001 MB / 470.5 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.2163, allocations: 268.8 kB / 470.7 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2175, allocations: 1.128 MB / 471.9 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008625/0.2184, allocations: 1.778 MB / 473.6 MB, free: 29.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008825/0.2192, allocations: 1.137 MB / 474.8 MB, free: 29.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.2252, allocations: 6.424 MB / 481.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2252, allocations: 0 / 481.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2252, allocations: 0 / 481.2 MB, free: 26.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000226/0.2254, allocations: 3.938 kB / 481.2 MB, free: 26.93 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.009965/0.2354, allocations: 4.392 MB / 485.6 MB, free: 24.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2354, allocations: 9.719 kB / 485.6 MB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/0.2365, allocations: 0.6241 MB / 486.2 MB, free: 24.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04027/0.2768, allocations: 7.319 MB / 493.6 MB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.2823, allocations: 2.405 MB / 496 MB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.2825, allocations: 191 kB / 496.1 MB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009782/0.2834, allocations: 275.8 kB / 496.4 MB, free: 21.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.2959, allocations: 8.603 MB / 0.4932 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.2961, allocations: 45.52 kB / 0.4932 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004563/0.2965, allocations: 125 kB / 0.4933 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.2982, allocations: 1.74 MB / 0.495 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008953/0.3072, allocations: 7.143 MB / 0.502 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.3396, allocations: 32.32 MB / 0.5336 GB, free: 6.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005866/0.3454, allocations: 2.923 MB / 0.5364 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.3473, allocations: 1.51 MB / 0.5379 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009294/0.3565, allocations: 6.12 MB / 0.5439 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3566, allocations: 55.5 kB / 0.5439 GB, free: 12.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 5.35e-06/0.3566, allocations: 0 / 0.5439 GB, free: 12.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=188): time 0.03494/0.3915, allocations: 19.18 MB / 0.5627 GB, free: 8.777 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.3916, allocations: 205.2 kB / 0.5629 GB, free: 8.535 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.3958, allocations: 4.137 MB / 0.5669 GB, free: 4.406 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/0.3962, allocations: 49.7 kB / 0.567 GB, free: 4.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.3978, allocations: 2.906 MB / 0.5698 GB, free: 1.418 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/0.3985, allocations: 0.7404 MB / 0.5705 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3997, allocations: 1.156 MB / 0.5716 GB, free: 15.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.3998, allocations: 301.1 kB / 0.5719 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.402, allocations: 2.041 MB / 0.5739 GB, free: 13.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.4057, allocations: 5.639 MB / 0.5794 GB, free: 5.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/0.4133, allocations: 8.296 MB / 0.5875 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.841e-05/0.4134, allocations: 36 kB / 0.5876 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01162/0.4251, allocations: 8.625 MB / 0.596 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.4251, allocations: 58.19 kB / 0.5961 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.325e-05/0.4252, allocations: 128.1 kB / 0.5962 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/0.428, allocations: 1.465 MB / 0.5976 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.4307, allocations: 1.302 MB / 0.5989 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/0.44, allocations: 8.84 MB / 0.6075 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.4434, allocations: 352.1 kB / 0.6078 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006059/0.444, allocations: 356 kB / 0.6082 GB, free: 6.41 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.002554/0.4465, allocations: 1.886 MB / 0.61 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/0.4471, allocations: 349.7 kB / 0.6104 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.4523, allocations: 3.696 MB / 0.614 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.4523, allocations: 27.88 kB / 0.614 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4523, allocations: 8 kB / 0.614 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4523, allocations: 7.969 kB / 0.614 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.4642, allocations: 7.761 MB / 0.6216 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.4642, allocations: 4 kB / 0.6216 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.465, allocations: 255.6 kB / 0.6218 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.4676, allocations: 1.253 MB / 0.6231 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.4678, allocations: 28 kB / 0.6231 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.215/0.6828, allocations: 8.119 MB / 0.631 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6828, allocations: 2.625 kB / 0.631 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00733/0.6901, allocations: 6.142 MB / 0.637 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009275/0.6911, allocations: 351.7 kB / 0.6374 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.6914, allocations: 32.3 kB / 0.6374 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008738/0.6922, allocations: 120.3 kB / 0.6375 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.6925, allocations: 118.7 kB / 0.6376 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.6925, allocations: 42.81 kB / 0.6377 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002494/0.695, allocations: 2.47 MB / 0.6401 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.695, allocations: 0 / 0.6401 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003192/0.6982, allocations: 1.034 MB / 0.6411 GB, free: 148.1 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.006602/0.7048, allocations: 6.807 MB / 0.6477 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005791/0.7106, allocations: 4.865 MB / 0.6525 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.7106, allocations: 0 / 0.6525 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.7122, 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.00205/0.7143, allocations: 411.1 kB / 0.6544 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05335/0.7676, allocations: 44.35 MB / 0.6977 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.7704, allocations: 2.42 MB / 0.7001 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002627/0.773, allocations: 1.821 MB / 0.7018 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/0.7744, allocations: 1.652 MB / 0.7034 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.094e-06/0.7744, allocations: 4 kB / 0.7035 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07611/0.8505, allocations: 69.46 MB / 0.7713 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.974/10.82, allocations: 6.562 kB / 0.7713 GB, free: 42.89 MB / 0.5261 GB " [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: 13.004327606409788]