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.00176/0.00176, 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.002101/0.002101, allocations: 205.8 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2453/0.2453, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.002389/0.002389, allocations: 83.86 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3815, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01739/0.3989, allocations: 9.933 MB / 0.5704 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.4107, allocations: 3.877 MB / 0.5742 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.4135, allocations: 75.62 kB / 0.5743 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005381/0.4189, allocations: 2.433 MB / 0.5766 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006805/0.4257, allocations: 1.899 MB / 0.5785 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.4281, allocations: 0.78 MB / 0.5792 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008757/0.4368, allocations: 4.509 MB / 0.5836 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004743/0.4416, allocations: 2.767 MB / 0.5864 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.4453, allocations: 1.581 MB / 0.5879 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.45, allocations: 2.27 MB / 0.5901 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008873/0.4509, allocations: 332 kB / 0.5904 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.4532, allocations: 0.8583 MB / 0.5913 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002442/0.4557, allocations: 1.967 MB / 0.5932 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.4581, allocations: 1.677 MB / 0.5948 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4688, allocations: 6.878 MB / 0.6015 GB, free: 9.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4688, allocations: 4 kB / 0.6015 GB, free: 9.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4688, allocations: 0 / 0.6015 GB, free: 9.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002135/0.469, allocations: 0 / 0.6015 GB, free: 9.984 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.01162/0.4806, allocations: 4.861 MB / 0.6063 GB, free: 5.062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.4807, allocations: 8.031 kB / 0.6063 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/0.4818, allocations: 0.7358 MB / 0.607 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007522/0.4893, allocations: 1.991 MB / 0.609 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007262/0.4966, allocations: 2.742 MB / 0.6116 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.4969, allocations: 250.2 kB / 0.6119 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000809/0.4977, allocations: 327.8 kB / 0.6122 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.5231, allocations: 10.34 MB / 0.6223 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.5233, allocations: 47.58 kB / 0.6223 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005222/0.5238, allocations: 159.9 kB / 0.6225 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003533/0.5273, allocations: 1.904 MB / 0.6243 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02192/0.5493, allocations: 8.169 MB / 0.6323 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05581/0.6051, allocations: 37.8 MB / 0.6692 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/0.6135, allocations: 2.72 MB / 0.6719 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.6152, allocations: 0.9634 MB / 0.6728 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009092/0.6243, allocations: 4.332 MB / 0.6771 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.6244, allocations: 59.44 kB / 0.6771 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.578e-06/0.6244, allocations: 0 / 0.6771 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02413/0.6485, allocations: 9.611 MB / 0.6865 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.6486, allocations: 192.9 kB / 0.6867 GB, free: 420 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00621/0.6548, allocations: 4.292 MB / 0.6909 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.6551, allocations: 45.7 kB / 0.6909 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002833/0.6579, allocations: 3.318 MB / 0.6942 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/0.6588, allocations: 0.6552 MB / 0.6948 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.6603, allocations: 1.227 MB / 0.696 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6605, allocations: 301.1 kB / 0.6963 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.6633, allocations: 1.644 MB / 0.6979 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/0.6698, allocations: 5.568 MB / 0.7033 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.6802, allocations: 7.779 MB / 0.7109 GB, free: 3.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.6804, allocations: 40 kB / 0.711 GB, free: 3.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01368/0.694, allocations: 6.889 MB / 0.7177 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.6942, allocations: 67.94 kB / 0.7178 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002211/0.6944, allocations: 140 kB / 0.7179 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.6946, allocations: 180 kB / 0.7181 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/0.6992, allocations: 1.427 MB / 0.7195 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002699/0.6995, allocations: 267 kB / 0.7197 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.7037, allocations: 307.8 kB / 0.72 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7047, allocations: 380 kB / 0.7204 GB, free: 9.938 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.004271/0.7089, allocations: 2.033 MB / 0.7224 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009339/0.7099, allocations: 361.6 kB / 0.7227 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.7111, allocations: 418.7 kB / 0.7231 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/0.7111, allocations: 16.19 kB / 0.7231 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.7111, allocations: 0 / 0.7231 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.7111, allocations: 19.89 kB / 0.7231 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.7245, allocations: 5.548 MB / 0.7286 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.7245, allocations: 24.44 kB / 0.7286 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.7256, allocations: 283.5 kB / 0.7289 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.654e-05/0.7257, allocations: 24 kB / 0.7289 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.7258, allocations: 48 kB / 0.7289 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-05/0.7258, allocations: 35.86 kB / 0.729 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.133e-05/0.7258, allocations: 31.81 kB / 0.729 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2937/1.019, allocations: 3.323 MB / 0.7322 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.021, allocations: 357.4 kB / 0.7326 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/1.021, allocations: 51.88 kB / 0.7326 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.022, allocations: 66.75 kB / 0.7327 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.022, allocations: 151.3 kB / 0.7328 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.022, allocations: 73.41 kB / 0.7329 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004051/1.026, allocations: 2.507 MB / 0.7353 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.026, allocations: 0.9375 kB / 0.7353 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004805/1.031, allocations: 0.8888 MB / 0.7362 GB, free: 149.3 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.004127/1.035, allocations: 3.991 MB / 0.7401 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006743/1.042, allocations: 3.658 MB / 0.7437 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/1.042, allocations: 3.062 kB / 0.7437 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009575/1.043, allocations: 0.7165 MB / 0.7444 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.046, allocations: 480.2 kB / 0.7448 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04659/1.093, allocations: 41.75 MB / 0.7856 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.096, allocations: 2.631 MB / 0.7882 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003528/1.099, allocations: 1.82 MB / 0.79 GB, free: 95.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/1.101, allocations: 1.862 MB / 0.7918 GB, free: 93.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.101, allocations: 3.938 kB / 0.7918 GB, free: 93.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.201, allocations: 58.78 MB / 0.8492 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.43, allocations: 12.08 kB / 0.8492 GB, free: 35.87 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 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.mat","/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.105959269218147]