Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.00163/0.00163, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001814/0.001814, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.461/1.461, allocations: 227.4 MB / 251.6 MB, free: 100 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.2277/0.2277, allocations: 46.16 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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 78.48 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01246/0.1267, allocations: 10.51 MB / 0.55 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006901/0.1336, allocations: 3.24 MB / 0.5531 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1347, allocations: 51.88 kB / 0.5532 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004508/0.1393, allocations: 2.367 MB / 0.5555 GB, free: 4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.1427, allocations: 1.213 MB / 0.5567 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1441, allocations: 0.5224 MB / 0.5572 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004115/0.1482, allocations: 2.923 MB / 0.56 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.1518, allocations: 3.025 MB / 0.563 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.1535, allocations: 1.265 MB / 0.5642 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.1562, allocations: 1.721 MB / 0.5659 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007306/0.1569, allocations: 296 kB / 0.5662 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.1589, allocations: 0.9987 MB / 0.5672 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.1604, allocations: 1.582 MB / 0.5687 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.1624, allocations: 1.953 MB / 0.5706 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007413/0.1699, allocations: 6.271 MB / 0.5767 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1699, allocations: 0 / 0.5767 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1699, allocations: 0 / 0.5767 GB, free: 14.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001713/0.1701, allocations: 0 / 0.5767 GB, free: 14.12 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.009082/0.1792, allocations: 4.359 MB / 0.581 GB, free: 9.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1793, allocations: 8.031 kB / 0.581 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.1854, allocations: 1.839 MB / 0.5828 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.1889, allocations: 1.77 MB / 0.5845 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.1891, allocations: 233.7 kB / 0.5847 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006608/0.1898, allocations: 299.8 kB / 0.585 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.2105, allocations: 10.65 MB / 0.5954 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.2106, allocations: 39.73 kB / 0.5955 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004065/0.211, allocations: 147.9 kB / 0.5956 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003683/0.2147, allocations: 2.04 MB / 0.5976 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2686/0.4834, allocations: 9.335 MB / 0.6067 GB, free: 53.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03737/0.5208, allocations: 37.91 MB / 0.6437 GB, free: 27.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009672/0.5305, allocations: 4.2 MB / 0.6478 GB, free: 25.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5328, allocations: 2.31 MB / 0.6501 GB, free: 24.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00605/0.5389, allocations: 6.122 MB / 0.6561 GB, free: 19.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.539, allocations: 51 kB / 0.6561 GB, free: 19.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 4.038e-06/0.539, allocations: 0 / 0.6561 GB, free: 19.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.05495/0.5939, allocations: 22.22 MB / 0.6778 GB, free: 15.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5941, allocations: 153.8 kB / 0.678 GB, free: 15.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5988, allocations: 3.383 MB / 0.6813 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.5992, allocations: 53.7 kB / 0.6813 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002266/0.6015, allocations: 2.919 MB / 0.6842 GB, free: 8.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009734/0.6025, allocations: 0.8308 MB / 0.685 GB, free: 7.875 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.6042, allocations: 1.201 MB / 0.6862 GB, free: 6.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6044, allocations: 301.1 kB / 0.6864 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/0.6082, allocations: 2.342 MB / 0.6887 GB, free: 4.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007057/0.6153, allocations: 5.788 MB / 0.6944 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.6276, allocations: 8.823 MB / 0.703 GB, free: 1.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/0.6278, allocations: 32 kB / 0.703 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01782/0.6456, allocations: 8.712 MB / 0.7115 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/0.6457, allocations: 60 kB / 0.7116 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/0.6459, allocations: 120 kB / 0.7117 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.6488, allocations: 1.034 MB / 0.7127 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/0.6537, allocations: 1.384 MB / 0.7141 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/0.6604, allocations: 5.812 MB / 0.7197 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.6647, allocations: 332.6 kB / 0.7201 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008982/0.6656, allocations: 365.1 kB / 0.7204 GB, free: 15.85 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003951/0.6695, allocations: 1.939 MB / 0.7223 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008138/0.6704, allocations: 325.8 kB / 0.7226 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.678, allocations: 3.955 MB / 0.7265 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-05/0.6781, allocations: 25.02 kB / 0.7265 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.6782, allocations: 7.938 kB / 0.7265 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.6782, allocations: 7.969 kB / 0.7265 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/0.7014, allocations: 8.831 MB / 0.7351 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.7014, allocations: 0 / 0.7351 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/0.7043, allocations: 355.5 kB / 0.7355 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003844/0.7081, allocations: 0.8723 MB / 0.7363 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/0.7086, allocations: 36 kB / 0.7364 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008106/0.7167, allocations: 5.128 MB / 0.7414 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7168, allocations: 0 / 0.7414 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.7336, allocations: 6.923 MB / 0.7481 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.7351, allocations: 378.7 kB / 0.7485 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000815/0.7359, allocations: 36 kB / 0.7485 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/0.7382, allocations: 119.8 kB / 0.7486 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/0.7387, allocations: 117.1 kB / 0.7488 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/0.739, allocations: 59.83 kB / 0.7488 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005096/0.7441, allocations: 2.073 MB / 0.7508 GB, free: 288 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7441, allocations: 0 / 0.7508 GB, free: 288 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007367/0.7515, allocations: 0.9492 MB / 0.7518 GB, free: 15.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007656/0.7523, allocations: 178.8 kB / 0.7519 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01116/0.7635, allocations: 6.172 MB / 0.758 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.7635, allocations: 0 / 0.758 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/0.7679, allocations: 2.477 MB / 0.7604 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.7704, allocations: 352.4 kB / 0.7607 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.7866, allocations: 9.161 MB / 0.7697 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/0.7901, allocations: 3.014 MB / 0.7726 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004294/0.7944, allocations: 1.865 MB / 0.7744 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/0.7952, allocations: 239.4 kB / 0.7747 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7952, allocations: 3.938 kB / 0.7747 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Templates: time 0.07285/0.8681, allocations: 34 MB / 0.8079 GB, free: 5.793 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.839036573655903]