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.0013/0.0013, allocations: 111.1 kB / 20.44 MB, free: 1.215 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.001407/0.001407, allocations: 215 kB / 23.73 MB, free: 4.41 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2322/0.2322, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.002651/0.002651, allocations: 87.86 kB / 0.4962 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3575, allocations: 66.08 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01377/0.3713, allocations: 9.858 MB / 0.5703 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009378/0.3807, allocations: 3.881 MB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3828, allocations: 79.56 kB / 0.5742 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.3883, allocations: 2.422 MB / 0.5765 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.3942, allocations: 1.903 MB / 0.5784 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.3964, allocations: 0.78 MB / 0.5792 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007962/0.4043, allocations: 4.511 MB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005348/0.4097, allocations: 2.783 MB / 0.5863 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.4134, allocations: 1.577 MB / 0.5878 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004626/0.418, allocations: 2.395 MB / 0.5902 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.4194, allocations: 340 kB / 0.5905 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.4221, allocations: 0.8739 MB / 0.5913 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00326/0.4254, allocations: 1.963 MB / 0.5933 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.4295, allocations: 1.67 MB / 0.5949 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4398, allocations: 6.89 MB / 0.6016 GB, free: 9.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4398, allocations: 0 / 0.6016 GB, free: 9.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4398, allocations: 0 / 0.6016 GB, free: 9.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003016/0.4401, allocations: 0 / 0.6016 GB, free: 9.941 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.01212/0.4523, allocations: 4.869 MB / 0.6064 GB, free: 5.012 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4523, allocations: 8.031 kB / 0.6064 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002036/0.4544, allocations: 0.728 MB / 0.6071 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.4626, allocations: 1.995 MB / 0.609 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006421/0.469, allocations: 2.726 MB / 0.6117 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.4693, allocations: 262.1 kB / 0.612 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4708, allocations: 327.8 kB / 0.6123 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/0.4926, allocations: 10.33 MB / 0.6224 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.4927, allocations: 51.62 kB / 0.6224 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005069/0.4932, allocations: 159.8 kB / 0.6226 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.4961, allocations: 1.908 MB / 0.6244 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.5133, allocations: 8.161 MB / 0.6324 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0522/0.5655, allocations: 37.81 MB / 0.6693 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008425/0.574, allocations: 2.72 MB / 0.672 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.5757, allocations: 0.9578 MB / 0.6729 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009127/0.5848, allocations: 4.34 MB / 0.6771 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.5849, allocations: 55.5 kB / 0.6772 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.899e-06/0.5849, allocations: 0 / 0.6772 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.0248/0.6097, allocations: 9.597 MB / 0.6866 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.6098, allocations: 208.9 kB / 0.6868 GB, free: 376 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/0.616, allocations: 4.064 MB / 0.6907 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.6162, allocations: 45.7 kB / 0.6908 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/0.6189, allocations: 3.314 MB / 0.694 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.6197, allocations: 0.6591 MB / 0.6947 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.6215, allocations: 1.215 MB / 0.6958 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6216, allocations: 301.1 kB / 0.6961 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.6246, allocations: 1.651 MB / 0.6977 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.6309, allocations: 5.564 MB / 0.7032 GB, free: 13.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6411, allocations: 7.776 MB / 0.7108 GB, free: 3.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/0.6413, allocations: 40 kB / 0.7108 GB, free: 3.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0151/0.6564, allocations: 6.903 MB / 0.7176 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.6566, allocations: 64.19 kB / 0.7176 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002759/0.6569, allocations: 140 kB / 0.7177 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.6571, allocations: 180 kB / 0.7179 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/0.6623, allocations: 1.427 MB / 0.7193 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003137/0.6626, allocations: 270.9 kB / 0.7196 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/0.667, allocations: 303.6 kB / 0.7199 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/0.668, allocations: 372 kB / 0.7202 GB, free: 10.14 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.004461/0.6725, allocations: 2.038 MB / 0.7222 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009209/0.6734, allocations: 369.5 kB / 0.7226 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.6746, allocations: 418.7 kB / 0.723 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/0.6747, allocations: 16 kB / 0.723 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.6747, allocations: 0 / 0.723 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.6747, allocations: 19.91 kB / 0.723 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.688, allocations: 5.555 MB / 0.7284 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-05/0.688, allocations: 17.44 kB / 0.7284 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.6891, allocations: 287.5 kB / 0.7287 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.398e-05/0.6892, allocations: 28 kB / 0.7287 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.6893, allocations: 44 kB / 0.7288 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-05/0.6893, allocations: 39.86 kB / 0.7288 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.446e-05/0.6894, allocations: 27.81 kB / 0.7288 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2928/0.9822, allocations: 3.322 MB / 0.7321 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.9834, allocations: 355.4 kB / 0.7324 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005699/0.984, allocations: 53.5 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9853, allocations: 61.12 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.9855, allocations: 151.1 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.9856, allocations: 74.02 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004031/0.9896, allocations: 2.507 MB / 0.7352 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9896, allocations: 0.7812 kB / 0.7352 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005051/0.9947, allocations: 0.886 MB / 0.7361 GB, free: 149.6 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.004067/0.9987, allocations: 3.988 MB / 0.74 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006058/1.005, allocations: 3.665 MB / 0.7435 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-05/1.005, allocations: 7.438 kB / 0.7435 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.006, allocations: 0.7064 MB / 0.7442 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.009, allocations: 492.6 kB / 0.7447 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04878/1.058, allocations: 41.75 MB / 0.7855 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.061, allocations: 2.635 MB / 0.788 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003606/1.065, allocations: 1.812 MB / 0.7898 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.067, allocations: 1.866 MB / 0.7916 GB, free: 94.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.067, allocations: 0 / 0.7916 GB, free: 94.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09803/1.165, allocations: 62.01 MB / 0.8522 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.08/25.24, allocations: 2.812 kB / 0.8522 GB, free: 32.77 MB / 0.5606 GB " [Timeout remaining time 635] (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: 28.42357373300183]