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.001452/0.001452, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001607/0.001607, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.325/1.325, allocations: 230.5 MB / 258.1 MB, free: 8.035 MB / 206.1 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.2076/0.2076, allocations: 46.93 MB / 361.5 MB, free: 4.293 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.002238/0.002238, allocations: 79.88 kB / 0.4974 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2962, allocations: 66.09 MB / 0.562 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0118/0.308, allocations: 10.57 MB / 0.5723 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.3143, allocations: 3.287 MB / 0.5755 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009274/0.3153, allocations: 63.75 kB / 0.5756 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.3195, allocations: 2.417 MB / 0.5779 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.3222, allocations: 1.256 MB / 0.5791 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.3236, allocations: 0.5301 MB / 0.5797 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.3277, allocations: 2.92 MB / 0.5825 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.3305, allocations: 2.448 MB / 0.5849 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.332, allocations: 1.289 MB / 0.5862 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.3342, allocations: 1.849 MB / 0.588 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.3346, allocations: 292 kB / 0.5882 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3362, allocations: 1.042 MB / 0.5893 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.3376, allocations: 1.616 MB / 0.5908 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.3392, allocations: 1.957 MB / 0.5928 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007539/0.3468, allocations: 6.275 MB / 0.5989 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.3468, allocations: 0 / 0.5989 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3468, allocations: 0 / 0.5989 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.3471, allocations: 0 / 0.5989 GB, free: 14.29 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.008887/0.356, allocations: 4.276 MB / 0.6031 GB, free: 9.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.356, allocations: 8.031 kB / 0.6031 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.3617, allocations: 1.839 MB / 0.6049 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.3656, allocations: 1.713 MB / 0.6065 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3658, allocations: 225.7 kB / 0.6068 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.3663, allocations: 303.8 kB / 0.607 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.3861, allocations: 10.66 MB / 0.6174 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.3862, allocations: 31.75 kB / 0.6175 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.3866, allocations: 143.8 kB / 0.6176 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/0.3901, allocations: 2.048 MB / 0.6196 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.4095, allocations: 9.355 MB / 0.6288 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/0.4565, allocations: 37.8 MB / 0.6657 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.4667, allocations: 3.591 MB / 0.6692 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.4696, allocations: 2.099 MB / 0.6712 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008828/0.4784, allocations: 5.122 MB / 0.6762 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.4785, allocations: 47.88 kB / 0.6763 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 4.379e-06/0.4785, allocations: 0 / 0.6763 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.06179/0.5403, allocations: 21.86 MB / 0.6976 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.5404, allocations: 149.8 kB / 0.6978 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/0.545, allocations: 3.379 MB / 0.7011 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.5453, allocations: 57.7 kB / 0.7011 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002306/0.5476, allocations: 2.916 MB / 0.704 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009702/0.5485, allocations: 0.8257 MB / 0.7048 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.5502, allocations: 1.215 MB / 0.706 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5503, allocations: 305.1 kB / 0.7062 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.5539, allocations: 2.335 MB / 0.7085 GB, free: 11.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00671/0.5606, allocations: 5.8 MB / 0.7142 GB, free: 4.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.572, allocations: 8.817 MB / 0.7228 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.238e-05/0.5721, allocations: 36 kB / 0.7228 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0165/0.5886, allocations: 8.697 MB / 0.7313 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.5887, allocations: 56.94 kB / 0.7314 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.5888, allocations: 120 kB / 0.7315 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2311/0.8199, allocations: 1.042 MB / 0.7325 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005045/0.825, allocations: 1.371 MB / 0.7339 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/0.8294, allocations: 5.611 MB / 0.7393 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.8332, allocations: 332.1 kB / 0.7397 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/0.8336, allocations: 366.4 kB / 0.74 GB, free: 149.1 MB / 0.5606 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.002153/0.8358, allocations: 1.942 MB / 0.7419 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.8362, allocations: 327.3 kB / 0.7422 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.8416, allocations: 3.95 MB / 0.7461 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.8416, allocations: 23.5 kB / 0.7461 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.8416, allocations: 3.938 kB / 0.7461 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.8416, allocations: 14.97 kB / 0.7461 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.8525, allocations: 8.755 MB / 0.7547 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8525, allocations: 7.969 kB / 0.7547 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.8539, allocations: 355.5 kB / 0.755 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.8559, allocations: 0.8608 MB / 0.7558 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.8561, allocations: 43.08 kB / 0.7559 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.8594, allocations: 4.926 MB / 0.7607 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8594, allocations: 4.031 kB / 0.7607 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/0.8667, allocations: 6.911 MB / 0.7675 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.8673, allocations: 297 kB / 0.7677 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.8677, allocations: 39.52 kB / 0.7678 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.8689, allocations: 119.8 kB / 0.7679 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.8692, allocations: 129.2 kB / 0.768 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.8693, allocations: 55.98 kB / 0.7681 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002153/0.8714, allocations: 2.077 MB / 0.7701 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8714, allocations: 0 / 0.7701 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003455/0.8749, allocations: 0.9536 MB / 0.771 GB, free: 127.1 MB / 0.5606 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.0003492/0.8752, allocations: 179.8 kB / 0.7712 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007047/0.8823, allocations: 5.762 MB / 0.7768 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.8823, allocations: 0 / 0.7768 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.8852, allocations: 2.199 MB / 0.779 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.8869, allocations: 355.5 kB / 0.7793 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.8991, allocations: 9.684 MB / 0.7888 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.9012, allocations: 3.017 MB / 0.7917 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/0.9022, allocations: 287.4 kB / 0.792 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.9022, allocations: 0 / 0.792 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1021/1.004, allocations: 125.1 MB / 0.9142 GB, free: 12.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/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: 12.208448145072907]