Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 206.1 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 46.96 MB / 361.6 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4473, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01296/0.4603, allocations: 9.228 MB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007943/0.4682, allocations: 3.1 MB / 0.5739 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.4708, allocations: 67.75 kB / 0.5739 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005118/0.4759, allocations: 2.316 MB / 0.5762 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.4799, allocations: 1.256 MB / 0.5774 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.4814, allocations: 0.5263 MB / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004519/0.4859, allocations: 2.928 MB / 0.5808 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003576/0.4895, allocations: 2.456 MB / 0.5832 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4918, allocations: 1.285 MB / 0.5844 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.495, allocations: 1.853 MB / 0.5862 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007194/0.4957, allocations: 296 kB / 0.5865 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.4977, allocations: 0.9167 MB / 0.5874 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.4995, allocations: 1.613 MB / 0.589 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.5015, allocations: 1.444 MB / 0.5904 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008582/0.5101, allocations: 6.283 MB / 0.5965 GB, free: 484 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.5101, allocations: 4 kB / 0.5966 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5101, allocations: 0 / 0.5966 GB, free: 480 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.5103, allocations: 0 / 0.5966 GB, free: 480 kB / 430.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.0102/0.5205, allocations: 4.278 MB / 0.6007 GB, free: 12.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5205, allocations: 12.03 kB / 0.6007 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006236/0.5268, allocations: 1.831 MB / 0.6025 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.5319, allocations: 1.729 MB / 0.6042 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.5321, allocations: 229.7 kB / 0.6044 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009777/0.5331, allocations: 299.8 kB / 0.6047 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.5564, allocations: 10.7 MB / 0.6152 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.5565, allocations: 35.69 kB / 0.6152 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006141/0.5571, allocations: 143.9 kB / 0.6153 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005472/0.5626, allocations: 2.04 MB / 0.6173 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03159/0.5942, allocations: 9.328 MB / 0.6264 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07521/0.6694, allocations: 35.4 MB / 0.661 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.6812, allocations: 3.596 MB / 0.6645 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/0.6849, allocations: 2.086 MB / 0.6666 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.6957, allocations: 4.613 MB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.6957, allocations: 51.88 kB / 0.6711 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.61e-06/0.6957, allocations: 0 / 0.6711 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06881/0.7646, allocations: 21.91 MB / 0.6925 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.7647, allocations: 145.8 kB / 0.6927 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/0.7692, allocations: 3.091 MB / 0.6957 GB, free: 9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004573/0.7697, allocations: 53.7 kB / 0.6957 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0032/0.7729, allocations: 2.954 MB / 0.6986 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.7744, allocations: 0.8372 MB / 0.6994 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.7763, allocations: 1.199 MB / 0.7006 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.7765, allocations: 357.9 kB / 0.7009 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/0.7804, allocations: 2.342 MB / 0.7032 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007092/0.7875, allocations: 5.788 MB / 0.7089 GB, free: 9.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.7996, allocations: 8.83 MB / 0.7175 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.7998, allocations: 36 kB / 0.7175 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01784/0.8176, allocations: 8.658 MB / 0.726 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.8177, allocations: 62.22 kB / 0.726 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.8179, allocations: 124 kB / 0.7262 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.8208, allocations: 1.03 MB / 0.7272 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/0.8261, allocations: 1.384 MB / 0.7285 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3162/1.142, allocations: 5.518 MB / 0.7339 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.147, allocations: 331.7 kB / 0.7342 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.149, allocations: 357.3 kB / 0.7346 GB, free: 150.4 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.003469/1.152, allocations: 1.946 MB / 0.7365 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/1.153, allocations: 292.6 kB / 0.7368 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/1.159, allocations: 3.904 MB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.159, allocations: 22.78 kB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.159, allocations: 11.47 kB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.159, allocations: 8.625 kB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.172, allocations: 7.623 MB / 0.748 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.172, allocations: 3.812 kB / 0.7481 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.174, allocations: 353.6 kB / 0.7484 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/1.176, allocations: 0.8723 MB / 0.7492 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/1.176, allocations: 36.53 kB / 0.7493 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003842/1.18, allocations: 4.854 MB / 0.754 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.18, allocations: 3.906 kB / 0.754 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008394/1.189, allocations: 6.868 MB / 0.7607 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007952/1.189, allocations: 242.6 kB / 0.761 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/1.19, allocations: 32 kB / 0.761 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.191, allocations: 125.8 kB / 0.7611 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/1.192, allocations: 128.3 kB / 0.7612 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.192, allocations: 55 kB / 0.7613 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002164/1.194, allocations: 1.721 MB / 0.763 GB, free: 134 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.194, allocations: 0 / 0.763 GB, free: 134 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004389/1.198, allocations: 0.9416 MB / 0.7639 GB, free: 133.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.000435/1.199, allocations: 175.9 kB / 0.7641 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008234/1.207, allocations: 5.775 MB / 0.7697 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.207, allocations: 0 / 0.7697 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/1.21, allocations: 2.197 MB / 0.7718 GB, free: 125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.212, allocations: 284.6 kB / 0.7721 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.226, allocations: 9.642 MB / 0.7815 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.228, allocations: 2.473 MB / 0.7839 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.229, allocations: 263.4 kB / 0.7842 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.229, allocations: 4 kB / 0.7842 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1178/1.347, allocations: 124.4 MB / 0.9057 GB, free: 3.824 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.150444152997807]