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.001973/0.001973, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002113/0.002113, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.653/1.653, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.347/0.347, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.94e-05, allocations: 2.312 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01458/0.01461, allocations: 10.14 MB / 387.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.02203, allocations: 3.154 MB / 390.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.02348, allocations: 67.69 kB / 390.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005834/0.02932, allocations: 2.538 MB / 393.1 MB, free: 2.938 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.03307, allocations: 1.302 MB / 394.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.03503, allocations: 0.5455 MB / 395 MB, free: 1.082 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005615/0.04064, allocations: 3.002 MB / 398 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.04484, allocations: 2.513 MB / 400.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.04856, allocations: 1.906 MB / 402.4 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.05156, allocations: 1.707 MB / 404.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007231/0.05228, allocations: 292 kB / 404.4 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.05434, allocations: 0.9595 MB / 405.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.05618, allocations: 1.679 MB / 407 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.05786, allocations: 1.098 MB / 408.1 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008316/0.06618, allocations: 6.241 MB / 414.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.06619, allocations: 3.938 kB / 414.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.06619, allocations: 0 / 414.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001545/0.06634, allocations: 3.938 kB / 414.4 MB, free: 13.59 MB / 394.7 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.0104/0.07674, allocations: 4.986 MB / 419.3 MB, free: 8.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.07678, allocations: 8.031 kB / 419.4 MB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/0.08425, allocations: 2.272 MB / 421.6 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.08902, allocations: 1.668 MB / 423.3 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.08925, allocations: 226.2 kB / 423.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.0903, allocations: 308.1 kB / 423.8 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.1094, allocations: 7.274 MB / 431.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.1095, allocations: 31.69 kB / 431.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/0.1099, allocations: 143.9 kB / 431.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.1141, allocations: 2.04 MB / 433.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.131, allocations: 4.623 MB / 437.9 MB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2053/0.3364, allocations: 44.05 MB / 482 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008752/0.3451, allocations: 2.531 MB / 484.5 MB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3464, allocations: 0.7718 MB / 485.3 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007403/0.3538, allocations: 4.127 MB / 489.4 MB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.3539, allocations: 53.58 kB / 489.5 MB, free: 57.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 5.19e-06/0.3539, allocations: 0 / 489.5 MB, free: 57.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05407/0.408, allocations: 16.03 MB / 0.4936 GB, free: 52.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.408, allocations: 157 kB / 0.4938 GB, free: 52.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/0.4122, allocations: 3.627 MB / 0.4973 GB, free: 51.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.4126, allocations: 56.83 kB / 0.4974 GB, free: 51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.4142, allocations: 3.239 MB / 0.5006 GB, free: 48.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009196/0.4152, allocations: 0.9084 MB / 0.5014 GB, free: 47.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/0.4168, allocations: 1.5 MB / 0.5029 GB, free: 47.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4169, allocations: 0.5565 MB / 0.5034 GB, free: 46.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.4187, allocations: 0.8582 MB / 0.5043 GB, free: 46.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004055/0.4228, allocations: 6.171 MB / 0.5103 GB, free: 39.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/0.4293, allocations: 7.799 MB / 0.5179 GB, free: 30.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.4294, allocations: 36 kB / 0.518 GB, free: 30.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01224/0.4417, allocations: 5.801 MB / 0.5236 GB, free: 24.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.4418, allocations: 56 kB / 0.5237 GB, free: 24.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/0.442, allocations: 124 kB / 0.5238 GB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.4446, allocations: 0.6615 MB / 0.5244 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004792/0.4494, allocations: 1.377 MB / 0.5258 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.4534, allocations: 4.803 MB / 0.5305 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004584/0.458, allocations: 325.5 kB / 0.5308 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/0.459, allocations: 364.2 kB / 0.5311 GB, free: 17.68 MB / 410.7 MB 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.002639/0.4616, allocations: 0.7359 MB / 0.5319 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008515/0.4625, allocations: 346.1 kB / 0.5322 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.4676, allocations: 2.122 MB / 0.5343 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/0.4677, allocations: 31.52 kB / 0.5343 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.4677, allocations: 4 kB / 0.5343 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.4677, allocations: 7.781 kB / 0.5343 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.4806, allocations: 6.432 MB / 0.5406 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4806, allocations: 0 / 0.5406 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.4823, allocations: 352.1 kB / 0.5409 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.4844, allocations: 0.4936 MB / 0.5414 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.4846, allocations: 39.98 kB / 0.5414 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.4874, allocations: 4.152 MB / 0.5455 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4874, allocations: 0 / 0.5455 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/0.4934, allocations: 3.379 MB / 0.5488 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.4939, allocations: 245.9 kB / 0.549 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.4943, allocations: 39.88 kB / 0.5491 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.4956, allocations: 115.8 kB / 0.5492 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.4959, allocations: 129 kB / 0.5493 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.4961, allocations: 58.3 kB / 0.5494 GB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002549/0.4986, allocations: 1.432 MB / 0.5508 GB, free: 14.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4986, allocations: 0 / 0.5508 GB, free: 14.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004803/0.5034, allocations: 0.9413 MB / 0.5517 GB, free: 13.61 MB / 426.7 MB 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.0004658/0.5039, allocations: 169.1 kB / 0.5518 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009127/0.513, allocations: 4.042 MB / 0.5558 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.513, allocations: 0 / 0.5558 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/0.5168, allocations: 1.541 MB / 0.5573 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5188, allocations: 302.4 kB / 0.5576 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.5341, allocations: 7.345 MB / 0.5647 GB, free: 68 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003601/0.5377, allocations: 2.245 MB / 0.5669 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004092/0.5418, allocations: 1.53 MB / 0.5684 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/0.5426, allocations: 228.4 kB / 0.5687 GB, free: 12.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5426, allocations: 0 / 0.5687 GB, free: 12.04 MB / 442.7 MB Notification: Performance of Templates: time 0.06795/0.6105, allocations: 29.88 MB / 0.5978 GB, free: 14.64 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.98003043292556]