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.001486/0.001486, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001913/0.001913, allocations: 156.9 kB / 24.27 MB, free: 172 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.554/1.554, allocations: 177 MB / 204.4 MB, free: 5.625 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.3512/0.3512, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.091e-05/1.091e-05, allocations: 3.984 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/4.548e-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.02588/0.02592, allocations: 9.259 MB / 386.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.0387, allocations: 3.096 MB / 389.6 MB, free: 6.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.04086, allocations: 59.75 kB / 389.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009809/0.05067, allocations: 2.46 MB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.05716, allocations: 1.302 MB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.06008, allocations: 0.5494 MB / 393.9 MB, free: 2.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00821/0.06829, allocations: 2.997 MB / 396.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005364/0.07365, allocations: 2.517 MB / 399.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.07865, allocations: 1.902 MB / 401.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.08357, allocations: 1.66 MB / 403 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.08457, allocations: 296 kB / 403.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.08779, allocations: 0.9439 MB / 404.2 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.09084, allocations: 1.671 MB / 405.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.09361, allocations: 1.094 MB / 407 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.1081, allocations: 6.237 MB / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1081, allocations: 0 / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1081, allocations: 0 / 413.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.1082, allocations: 0 / 413.2 MB, free: 14.7 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.01628/0.1245, allocations: 4.229 MB / 417.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.1246, allocations: 12.03 kB / 417.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.1376, allocations: 2.339 MB / 419.8 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007036/0.1446, allocations: 1.744 MB / 421.6 MB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.145, allocations: 226.2 kB / 421.8 MB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.1466, allocations: 304.2 kB / 422.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.1754, allocations: 10.71 MB / 432.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.1755, allocations: 31.69 kB / 432.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/0.176, allocations: 147.8 kB / 433 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004048/0.1801, allocations: 2.036 MB / 435 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1803/0.3604, allocations: 9.301 MB / 444.3 MB, free: 94.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.3958, allocations: 35.5 MB / 479.8 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009469/0.4052, allocations: 3.748 MB / 483.6 MB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.4077, allocations: 2.09 MB / 485.6 MB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007811/0.4155, allocations: 4.667 MB / 490.3 MB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.4156, allocations: 52.31 kB / 490.4 MB, free: 66.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.598e-06/0.4156, allocations: 0 / 490.4 MB, free: 66.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.06042/0.476, allocations: 22.63 MB / 0.501 GB, free: 56.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.476, allocations: 149.8 kB / 0.5011 GB, free: 56.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.479, allocations: 3.091 MB / 0.5041 GB, free: 53.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.4793, allocations: 57.7 kB / 0.5042 GB, free: 53.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4803, allocations: 2.916 MB / 0.507 GB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.4809, allocations: 0.8202 MB / 0.5078 GB, free: 50.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.4821, allocations: 1.182 MB / 0.509 GB, free: 49.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.4822, allocations: 354.6 kB / 0.5093 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.4848, allocations: 2.351 MB / 0.5116 GB, free: 46.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.4885, allocations: 5.785 MB / 0.5173 GB, free: 39.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/0.4961, allocations: 8.831 MB / 0.5259 GB, free: 28.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.4963, allocations: 32 kB / 0.5259 GB, free: 28.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01276/0.509, allocations: 8.974 MB / 0.5347 GB, free: 19.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/0.5091, allocations: 56 kB / 0.5347 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.742e-05/0.5092, allocations: 120 kB / 0.5349 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.5117, allocations: 1.096 MB / 0.5359 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003963/0.5157, allocations: 1.38 MB / 0.5373 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.5201, allocations: 5.548 MB / 0.5427 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/0.5239, allocations: 323.6 kB / 0.543 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/0.5245, allocations: 356 kB / 0.5433 GB, free: 10.51 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.002291/0.5267, allocations: 1.943 MB / 0.5452 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/0.5274, allocations: 349.8 kB / 0.5456 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/0.5333, allocations: 3.912 MB / 0.5494 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.5333, allocations: 20 kB / 0.5494 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5333, allocations: 8 kB / 0.5494 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.5333, allocations: 7.969 kB / 0.5494 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.5477, allocations: 7.661 MB / 0.5569 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.5478, allocations: 0 / 0.5569 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.5497, allocations: 351.5 kB / 0.5572 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.5527, allocations: 0.9161 MB / 0.5581 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/0.5529, allocations: 36 kB / 0.5582 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.5595, allocations: 4.863 MB / 0.5629 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5595, allocations: 0 / 0.5629 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.5725, allocations: 6.937 MB / 0.5697 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.5732, allocations: 245.9 kB / 0.5699 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/0.5736, allocations: 32 kB / 0.57 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.575, allocations: 119.8 kB / 0.5701 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004025/0.5754, allocations: 121.1 kB / 0.5702 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.5755, allocations: 59.98 kB / 0.5702 GB, free: 14.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003046/0.5786, allocations: 1.721 MB / 0.5719 GB, free: 12.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5786, allocations: 4 kB / 0.5719 GB, free: 12.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004635/0.5832, allocations: 0.9413 MB / 0.5729 GB, free: 11.97 MB / 442.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.0005489/0.5838, allocations: 174.4 kB / 0.573 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01175/0.5955, allocations: 5.761 MB / 0.5786 GB, free: 6.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5955, allocations: 4 kB / 0.5786 GB, free: 6.023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00469/0.6002, allocations: 2.208 MB / 0.5808 GB, free: 3.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.6021, allocations: 302.1 kB / 0.5811 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.6204, allocations: 9.134 MB / 0.59 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004324/0.6247, allocations: 2.47 MB / 0.5924 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004733/0.6295, allocations: 1.819 MB / 0.5942 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/0.6304, allocations: 220.5 kB / 0.5944 GB, free: 5.754 MB / 458.7 MB Notification: Performance of SimCode: time 1.954e-06/0.6304, allocations: 0 / 0.5944 GB, free: 5.754 MB / 458.7 MB Notification: Performance of Templates: time 0.1978/0.8282, allocations: 29.84 MB / 0.6236 GB, free: 126.1 MB / 458.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=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.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: 7.129036493948661]