Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.001569/0.001569, allocations: 120.5 kB / 20.44 MB, free: 1.32 MB / 14.72 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.001671/0.001671, allocations: 209.2 kB / 23.74 MB, free: 4.555 MB / 14.72 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 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2316/0.2316, allocations: 46.94 MB / 360.8 MB, free: 4.145 MB / 286.1 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.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 75.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3511, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01334/0.3644, allocations: 11.44 MB / 0.5719 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00967/0.3741, allocations: 4.11 MB / 0.5759 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.3756, allocations: 79.62 kB / 0.576 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.3803, allocations: 2.534 MB / 0.5785 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.3848, allocations: 1.887 MB / 0.5803 GB, free: 148 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3865, allocations: 0.7761 MB / 0.5811 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006133/0.3926, allocations: 4.507 MB / 0.5855 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/0.3961, allocations: 2.787 MB / 0.5882 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3983, allocations: 1.581 MB / 0.5897 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.4016, allocations: 2.395 MB / 0.5921 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000686/0.4023, allocations: 332 kB / 0.5924 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.4042, allocations: 0.9909 MB / 0.5934 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.4061, allocations: 1.971 MB / 0.5953 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.4085, allocations: 2.237 MB / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007725/0.4162, allocations: 6.855 MB / 0.6042 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4162, allocations: 4 kB / 0.6042 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4162, allocations: 0 / 0.6042 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001546/0.4164, allocations: 0 / 0.6042 GB, free: 7.594 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009068/0.4254, allocations: 4.861 MB / 0.6089 GB, free: 2.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4255, allocations: 8.031 kB / 0.6089 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009533/0.4264, allocations: 0.728 MB / 0.6096 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007176/0.4336, allocations: 1.997 MB / 0.6116 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/0.4396, allocations: 2.728 MB / 0.6143 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4399, allocations: 250.2 kB / 0.6145 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007097/0.4406, allocations: 327.8 kB / 0.6148 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.4579, allocations: 10.23 MB / 0.6248 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.458, allocations: 59.5 kB / 0.6249 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.4584, allocations: 155.9 kB / 0.625 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.4613, allocations: 1.904 MB / 0.6269 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.4779, allocations: 8.165 MB / 0.6348 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.5268, allocations: 39.18 MB / 0.6731 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007835/0.5347, allocations: 2.717 MB / 0.6758 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.5363, allocations: 0.9709 MB / 0.6767 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008449/0.5447, allocations: 4.57 MB / 0.6812 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.5448, allocations: 47.5 kB / 0.6812 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.5448, allocations: 0 / 0.6812 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02384/0.5686, allocations: 9.615 MB / 0.6906 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.5688, allocations: 196.9 kB / 0.6908 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/0.5753, allocations: 4.068 MB / 0.6948 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.5756, allocations: 49.7 kB / 0.6948 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002622/0.5782, allocations: 3.31 MB / 0.698 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/0.5789, allocations: 0.663 MB / 0.6987 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.5804, allocations: 1.215 MB / 0.6999 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5805, allocations: 301.4 kB / 0.7002 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.5833, allocations: 1.648 MB / 0.7018 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/0.5893, allocations: 5.514 MB / 0.7072 GB, free: 9.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009628/0.5989, allocations: 7.771 MB / 0.7147 GB, free: 48 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/0.599, allocations: 40 kB / 0.7148 GB, free: 8 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01133/0.6103, allocations: 6.909 MB / 0.7215 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.6104, allocations: 64 kB / 0.7216 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.6105, allocations: 136.9 kB / 0.7217 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.6107, allocations: 180 kB / 0.7219 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/0.6148, allocations: 1.431 MB / 0.7233 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002314/0.615, allocations: 270.9 kB / 0.7236 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.6184, allocations: 295.7 kB / 0.7238 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/0.6189, allocations: 372 kB / 0.7242 GB, free: 6.379 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003066/0.6219, allocations: 2.046 MB / 0.7262 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/0.6225, allocations: 365.6 kB / 0.7265 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.6233, allocations: 418.7 kB / 0.7269 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.6233, allocations: 16 kB / 0.7269 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.6233, allocations: 4 kB / 0.727 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.6233, allocations: 7.969 kB / 0.727 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2637/0.887, allocations: 5.808 MB / 0.7326 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/0.8871, allocations: 16.97 kB / 0.7326 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.8881, allocations: 282.1 kB / 0.7329 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.063e-05/0.8882, allocations: 29.62 kB / 0.7329 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.8883, allocations: 49.28 kB / 0.733 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-05/0.8883, allocations: 35.69 kB / 0.733 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/0.8883, allocations: 28.73 kB / 0.7331 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.8921, allocations: 3.32 MB / 0.7363 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008405/0.8929, allocations: 364.6 kB / 0.7366 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.8932, allocations: 51.45 kB / 0.7367 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8943, allocations: 63.05 kB / 0.7368 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.8944, allocations: 145.4 kB / 0.7369 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.8945, allocations: 75.23 kB / 0.737 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003396/0.8979, allocations: 2.51 MB / 0.7394 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8979, allocations: 0 / 0.7394 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00415/0.902, allocations: 0.8797 MB / 0.7403 GB, free: 147.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003407/0.9054, allocations: 3.986 MB / 0.7442 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005287/0.9107, allocations: 3.681 MB / 0.7478 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.9107, allocations: 3.938 kB / 0.7478 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.9115, allocations: 0.7136 MB / 0.7485 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.914, allocations: 470.8 kB / 0.7489 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04203/0.9561, allocations: 41.77 MB / 0.7897 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/0.9585, allocations: 3.162 MB / 0.7928 GB, free: 94.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003176/0.9617, allocations: 1.816 MB / 0.7946 GB, free: 92.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.9633, allocations: 1.87 MB / 0.7964 GB, free: 90.76 MB / 0.5606 GB Notification: Performance of SimCode: time 1.684e-06/0.9633, allocations: 0 / 0.7964 GB, free: 90.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09989/1.063, allocations: 64.01 MB / 0.8589 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/22.8, allocations: 11.98 kB / 0.8589 GB, free: 27.09 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_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_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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: 26.038550515004317]