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.001374/0.001374, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001723/0.001723, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2371/0.2371, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.002384/0.002384, allocations: 75.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3637, allocations: 66.09 MB / 0.5607 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01274/0.3765, allocations: 9.921 MB / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.3856, allocations: 3.884 MB / 0.5742 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.3877, allocations: 79.56 kB / 0.5743 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.3931, allocations: 2.437 MB / 0.5766 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.3986, allocations: 1.894 MB / 0.5785 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4006, allocations: 0.78 MB / 0.5793 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007042/0.4076, allocations: 4.507 MB / 0.5837 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.4115, allocations: 2.771 MB / 0.5864 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.4143, allocations: 1.577 MB / 0.5879 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.4179, allocations: 2.262 MB / 0.5901 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008584/0.4188, allocations: 336 kB / 0.5904 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.4207, allocations: 0.8622 MB / 0.5913 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.4227, allocations: 1.971 MB / 0.5932 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.4249, allocations: 1.67 MB / 0.5948 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00823/0.4331, allocations: 6.886 MB / 0.6016 GB, free: 9.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4331, allocations: 0 / 0.6016 GB, free: 9.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4331, allocations: 0 / 0.6016 GB, free: 9.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.4333, allocations: 0 / 0.6016 GB, free: 9.887 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.009338/0.4427, allocations: 4.857 MB / 0.6063 GB, free: 4.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4427, allocations: 15.97 kB / 0.6063 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/0.4437, allocations: 0.728 MB / 0.607 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007309/0.451, allocations: 1.995 MB / 0.609 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/0.4576, allocations: 2.73 MB / 0.6116 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.4578, allocations: 258.2 kB / 0.6119 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/0.4586, allocations: 327.8 kB / 0.6122 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.4771, allocations: 10.33 MB / 0.6223 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.4773, allocations: 55.56 kB / 0.6223 GB, free: 3.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.4777, allocations: 159.8 kB / 0.6225 GB, free: 3.484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.4807, allocations: 1.904 MB / 0.6244 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.4978, allocations: 8.161 MB / 0.6323 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0503/0.5481, allocations: 37.8 MB / 0.6692 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/0.5561, allocations: 2.724 MB / 0.6719 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.5577, allocations: 0.9559 MB / 0.6728 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008263/0.566, allocations: 4.34 MB / 0.6771 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.566, allocations: 59.44 kB / 0.6771 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.538e-06/0.566, allocations: 0 / 0.6771 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02404/0.5901, allocations: 9.607 MB / 0.6865 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.5902, allocations: 196.9 kB / 0.6867 GB, free: 328 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/0.5965, allocations: 4.296 MB / 0.6909 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.5967, allocations: 49.7 kB / 0.6909 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002661/0.5994, allocations: 3.314 MB / 0.6942 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008012/0.6002, allocations: 0.6591 MB / 0.6948 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.6018, allocations: 1.219 MB / 0.696 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6019, allocations: 301.4 kB / 0.6963 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.6045, allocations: 1.644 MB / 0.6979 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006057/0.6106, allocations: 5.568 MB / 0.7033 GB, free: 13.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.6212, allocations: 7.774 MB / 0.7109 GB, free: 3.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/0.6214, allocations: 44 kB / 0.711 GB, free: 3.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01375/0.6351, allocations: 6.903 MB / 0.7177 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/0.6352, allocations: 60 kB / 0.7178 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/0.6354, allocations: 140 kB / 0.7179 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.6356, allocations: 180.8 kB / 0.7181 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004412/0.64, allocations: 1.431 MB / 0.7195 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002243/0.6402, allocations: 267 kB / 0.7197 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/0.644, allocations: 303.6 kB / 0.72 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/0.6446, allocations: 375.9 kB / 0.7204 GB, free: 9.852 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.003349/0.6479, allocations: 2.037 MB / 0.7224 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/0.6486, allocations: 369.5 kB / 0.7227 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.6494, allocations: 414.7 kB / 0.7231 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.6494, allocations: 16 kB / 0.7231 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6494, allocations: 0 / 0.7231 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.6495, allocations: 15.91 kB / 0.7231 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.6598, allocations: 5.556 MB / 0.7286 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.6598, allocations: 16 kB / 0.7286 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6609, allocations: 287.5 kB / 0.7289 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.473e-05/0.6609, allocations: 24 kB / 0.7289 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.661, allocations: 44 kB / 0.7289 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.765e-05/0.6611, allocations: 36.39 kB / 0.729 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.443e-05/0.6611, allocations: 31.88 kB / 0.729 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2823/0.9435, allocations: 3.32 MB / 0.7322 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/0.9444, allocations: 360.3 kB / 0.7326 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.9447, allocations: 51.75 kB / 0.7326 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.9458, allocations: 72.02 kB / 0.7327 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.946, allocations: 143.8 kB / 0.7328 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.946, allocations: 69.69 kB / 0.7329 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003499/0.9495, allocations: 2.513 MB / 0.7354 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9495, allocations: 0 / 0.7354 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004241/0.9538, allocations: 0.8853 MB / 0.7362 GB, free: 149.2 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.003449/0.9572, allocations: 3.991 MB / 0.7401 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005264/0.9625, allocations: 3.666 MB / 0.7437 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.9625, allocations: 2.656 kB / 0.7437 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.9633, allocations: 0.7176 MB / 0.7444 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.9658, allocations: 476.6 kB / 0.7449 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04387/1.01, allocations: 41.75 MB / 0.7856 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.012, allocations: 2.639 MB / 0.7882 GB, free: 97.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003239/1.015, allocations: 1.812 MB / 0.79 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.017, allocations: 1.866 MB / 0.7918 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/1.017, allocations: 0 / 0.7918 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09553/1.113, allocations: 58.77 MB / 0.8492 GB, free: 35.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.82, allocations: 6.75 kB / 0.8492 GB, free: 35.79 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.067260002251714]