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.0008694/0.0008694, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0008915/0.0008915, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.9105/0.9105, allocations: 177 MB / 204.1 MB, free: 5.773 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.2761/0.2761, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.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 2.344e-06/2.344e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.581e-05, allocations: 6.219 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2147/0.2147, allocations: 9.937 MB / 452.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.2197, allocations: 3.883 MB / 456 MB, free: 36.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.2204, allocations: 79.75 kB / 456.1 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.2225, allocations: 2.56 MB / 458.6 MB, free: 35.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.2247, allocations: 1.943 MB / 460.6 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.2256, allocations: 0.849 MB / 461.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.2281, allocations: 5.207 MB / 466.6 MB, free: 32.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.2298, allocations: 3.268 MB / 469.9 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2313, allocations: 2.43 MB / 472.3 MB, free: 29.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.2329, allocations: 2.496 MB / 474.8 MB, free: 29.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.2332, allocations: 342.6 kB / 475.1 MB, free: 29.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.2341, allocations: 0.915 MB / 476.1 MB, free: 28.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008848/0.235, allocations: 2.062 MB / 478.1 MB, free: 28.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007903/0.2358, allocations: 1.317 MB / 479.4 MB, free: 27.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.2418, allocations: 6.886 MB / 486.3 MB, free: 24.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2418, allocations: 0 / 486.3 MB, free: 24.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2418, allocations: 0 / 486.3 MB, free: 24.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.242, allocations: 1.219 kB / 486.3 MB, free: 24.96 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.007781/0.2497, allocations: 4.934 MB / 491.3 MB, free: 22.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2498, allocations: 10.16 kB / 491.3 MB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008106/0.2506, allocations: 0.7277 MB / 492 MB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.2563, allocations: 2.152 MB / 494.2 MB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.26, allocations: 2.401 MB / 496.6 MB, free: 20.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2602, allocations: 247 kB / 496.8 MB, free: 20.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.2606, allocations: 328.8 kB / 497.1 MB, free: 20.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.2721, allocations: 10.35 MB / 0.4956 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.918e-05/0.2722, allocations: 51.12 kB / 0.4956 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.2725, allocations: 157.1 kB / 0.4958 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.2742, allocations: 1.911 MB / 0.4976 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008882/0.2831, allocations: 8.173 MB / 0.5056 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.3131, allocations: 38.05 MB / 0.5428 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.3179, allocations: 2.858 MB / 0.5456 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009309/0.3188, allocations: 0.9596 MB / 0.5465 GB, free: 9.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004991/0.3238, allocations: 4.467 MB / 0.5509 GB, free: 4.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3239, allocations: 54.8 kB / 0.5509 GB, free: 4.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 3.066e-06/0.3239, allocations: 4 kB / 0.5509 GB, free: 4.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01481/0.3387, allocations: 10.03 MB / 0.5607 GB, free: 10.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.3388, allocations: 200.9 kB / 0.5609 GB, free: 10.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.3431, allocations: 4.604 MB / 0.5654 GB, free: 5.688 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.3431, allocations: 49.7 kB / 0.5655 GB, free: 5.633 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.3448, allocations: 3.279 MB / 0.5687 GB, free: 2.324 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.3452, allocations: 0.6552 MB / 0.5693 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009832/0.3461, allocations: 1.199 MB / 0.5705 GB, free: 464 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.3462, allocations: 305.1 kB / 0.5708 GB, free: 156 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.3479, allocations: 1.667 MB / 0.5724 GB, free: 14.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.3515, allocations: 5.584 MB / 0.5778 GB, free: 6.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006255/0.3578, allocations: 7.791 MB / 0.5855 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/0.3578, allocations: 40 kB / 0.5855 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.007677/0.3655, allocations: 6.942 MB / 0.5923 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.3656, allocations: 64 kB / 0.5923 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.134e-05/0.3657, allocations: 136 kB / 0.5925 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.3658, allocations: 184 kB / 0.5926 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.3679, allocations: 1.435 MB / 0.594 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001378/0.3681, allocations: 274.9 kB / 0.5943 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.3709, allocations: 403.7 kB / 0.5947 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.3712, allocations: 379.9 kB / 0.595 GB, free: 3.398 MB / 0.4948 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.002586/0.3738, allocations: 2.037 MB / 0.597 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.3742, allocations: 365.5 kB / 0.5974 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.3747, allocations: 422.7 kB / 0.5978 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.3747, allocations: 16 kB / 0.5978 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.3747, allocations: 0 / 0.5978 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.3747, allocations: 7.984 kB / 0.5978 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006385/0.3811, allocations: 5.63 MB / 0.6033 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.3811, allocations: 20.03 kB / 0.6033 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.3816, allocations: 283.5 kB / 0.6036 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.3817, allocations: 28 kB / 0.6036 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.3817, allocations: 51.98 kB / 0.6037 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.971e-05/0.3817, allocations: 35.86 kB / 0.6037 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.3817, allocations: 27.88 kB / 0.6037 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.3846, allocations: 3.296 MB / 0.607 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3851, allocations: 405.3 kB / 0.6073 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.3853, allocations: 47.98 kB / 0.6074 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.386, allocations: 123.8 kB / 0.6075 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3861, allocations: 147.3 kB / 0.6076 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.3862, allocations: 68 kB / 0.6077 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002553/0.3887, allocations: 2.765 MB / 0.6104 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3887, allocations: 0 / 0.6104 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003342/0.3921, allocations: 0.9881 MB / 0.6114 GB, free: 2.109 MB / 0.5105 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.003184/0.3953, allocations: 3.968 MB / 0.6152 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004001/0.3993, allocations: 3.694 MB / 0.6189 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3993, allocations: 4 kB / 0.6189 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/0.4002, allocations: 0.7112 MB / 0.6196 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.4018, allocations: 482.3 kB / 0.62 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2298/0.6316, allocations: 42.51 MB / 0.6615 GB, free: 153.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.6335, allocations: 2.625 MB / 0.6641 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002495/0.636, allocations: 1.829 MB / 0.6659 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.6372, allocations: 1.883 MB / 0.6677 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/0.6372, allocations: 3.656 kB / 0.6677 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08081/0.718, allocations: 60.48 MB / 0.7268 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.08, allocations: 4 kB / 0.7268 GB, free: 118.4 MB / 0.5417 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/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: 13.285183337517083]