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.001385/0.001385, allocations: 116.2 kB / 18.45 MB, free: 4.613 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.001452/0.001452, allocations: 205 kB / 21.4 MB, free: 1.668 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.507/1.507, allocations: 227.4 MB / 251.6 MB, free: 96 kB / 190.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.2475/0.2475, allocations: 46.18 MB / 351.1 MB, free: 14.29 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: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 82.19 kB / 490.2 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1503, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01357/0.1639, allocations: 11.37 MB / 0.5508 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009187/0.1731, allocations: 4.054 MB / 0.5548 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.1753, allocations: 63.81 kB / 0.5548 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005083/0.1804, allocations: 2.492 MB / 0.5573 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.1865, allocations: 1.825 MB / 0.559 GB, free: 360 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.1886, allocations: 0.78 MB / 0.5598 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008677/0.1973, allocations: 4.508 MB / 0.5642 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005026/0.2024, allocations: 3.331 MB / 0.5674 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.2055, allocations: 1.553 MB / 0.569 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.2095, allocations: 2.22 MB / 0.5711 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.2106, allocations: 336 kB / 0.5715 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.2129, allocations: 0.9519 MB / 0.5724 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.2152, allocations: 1.913 MB / 0.5743 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003253/0.2184, allocations: 2.241 MB / 0.5764 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009634/0.2281, allocations: 6.831 MB / 0.5831 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2281, allocations: 0 / 0.5831 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2281, allocations: 0 / 0.5831 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.2284, allocations: 0 / 0.5831 GB, free: 7.578 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.01078/0.2391, allocations: 4.917 MB / 0.5879 GB, free: 2.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/0.2392, allocations: 8.031 kB / 0.5879 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007639/0.2469, allocations: 1.971 MB / 0.5898 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.2525, allocations: 2.341 MB / 0.5921 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.2529, allocations: 254.4 kB / 0.5924 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.2546, allocations: 327.8 kB / 0.5927 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/0.2779, allocations: 10.23 MB / 0.6027 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.2781, allocations: 47.58 kB / 0.6027 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005359/0.2786, allocations: 155.9 kB / 0.6029 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003153/0.2818, allocations: 1.915 MB / 0.6047 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3147/0.5965, allocations: 8.161 MB / 0.6127 GB, free: 52.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04852/0.6451, allocations: 39.32 MB / 0.6511 GB, free: 22.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.6527, allocations: 3.297 MB / 0.6543 GB, free: 20.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.6543, allocations: 1.055 MB / 0.6554 GB, free: 20.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.6618, allocations: 6.009 MB / 0.6612 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6618, allocations: 47.56 kB / 0.6613 GB, free: 15.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 6.432e-06/0.6619, allocations: 0 / 0.6613 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02011/0.682, allocations: 9.752 MB / 0.6708 GB, free: 5.445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.6821, allocations: 192.9 kB / 0.671 GB, free: 5.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/0.6869, allocations: 4.057 MB / 0.6749 GB, free: 1.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.6872, allocations: 45.7 kB / 0.675 GB, free: 1.117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.6901, allocations: 3.304 MB / 0.6782 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.6912, allocations: 0.67 MB / 0.6789 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.6931, allocations: 1.223 MB / 0.6801 GB, free: 11.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6932, allocations: 305.1 kB / 0.6804 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.6963, allocations: 1.663 MB / 0.682 GB, free: 9.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00688/0.7032, allocations: 5.534 MB / 0.6874 GB, free: 2.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.7146, allocations: 7.795 MB / 0.695 GB, free: 8.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/0.7148, allocations: 36 kB / 0.695 GB, free: 8.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01584/0.7306, allocations: 6.954 MB / 0.7018 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.7308, allocations: 64 kB / 0.7019 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/0.7311, allocations: 136 kB / 0.702 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.7314, allocations: 180.8 kB / 0.7022 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/0.7365, allocations: 1.443 MB / 0.7036 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000348/0.7369, allocations: 269.7 kB / 0.7039 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/0.7416, allocations: 295.7 kB / 0.7041 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/0.7428, allocations: 376 kB / 0.7045 GB, free: 15.04 MB / 0.4981 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 (775): * Single equations (assignments): 772 * 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.005061/0.7478, allocations: 2.044 MB / 0.7065 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/0.7492, allocations: 369.5 kB / 0.7068 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.7509, allocations: 410.6 kB / 0.7072 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-05/0.751, allocations: 16 kB / 0.7073 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/0.7511, allocations: 0 / 0.7073 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/0.7511, allocations: 11.97 kB / 0.7073 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.7659, allocations: 5.847 MB / 0.713 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/0.766, allocations: 16 kB / 0.713 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.7672, allocations: 287.5 kB / 0.7133 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/0.7672, allocations: 24 kB / 0.7133 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.7674, allocations: 51.94 kB / 0.7133 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.655e-05/0.7674, allocations: 39.8 kB / 0.7134 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.7675, allocations: 23.94 kB / 0.7134 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.7728, allocations: 3.323 MB / 0.7166 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.774, allocations: 434.5 kB / 0.7171 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008363/0.7749, allocations: 55.98 kB / 0.7171 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.7767, allocations: 68.77 kB / 0.7172 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.7769, allocations: 146.9 kB / 0.7173 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.777, allocations: 68 kB / 0.7174 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004662/0.7817, allocations: 2.504 MB / 0.7198 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7817, allocations: 0 / 0.7198 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005742/0.7875, allocations: 0.8925 MB / 0.7207 GB, free: 13.88 MB / 0.5137 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.0005721/0.788, allocations: 192.9 kB / 0.7209 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007851/0.7959, allocations: 3.85 MB / 0.7246 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/0.7959, allocations: 4 kB / 0.7246 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.7973, allocations: 0.7556 MB / 0.7254 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/0.8012, allocations: 476.5 kB / 0.7258 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.8189, allocations: 8.86 MB / 0.7345 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/0.8241, allocations: 3.173 MB / 0.7376 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004239/0.8284, allocations: 1.816 MB / 0.7394 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.829, allocations: 239.4 kB / 0.7396 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.829, allocations: 4 kB / 0.7396 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.06017/0.8892, allocations: 25.12 MB / 0.7641 GB, free: 1.266 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 6.911855497397482]