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.001865/0.001865, allocations: 92.33 kB / 20.95 MB, free: 3.59 MB / 18.57 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.00252/0.00252, allocations: 169.2 kB / 24.27 MB, free: 284 kB / 18.57 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.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3489/0.3489, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.948e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01324/0.01327, allocations: 9.252 MB / 386.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007737/0.02101, allocations: 3.104 MB / 389.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.02258, allocations: 59.75 kB / 389.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005416/0.02799, allocations: 2.46 MB / 392.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.03253, allocations: 1.305 MB / 393.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.03427, allocations: 0.5378 MB / 394 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005134/0.0394, allocations: 3 MB / 397 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.04356, allocations: 2.509 MB / 399.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.04756, allocations: 1.906 MB / 401.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.05046, allocations: 1.656 MB / 403.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005965/0.05105, allocations: 296 kB / 403.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.05296, allocations: 0.9478 MB / 404.3 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.05479, allocations: 1.675 MB / 406 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.05654, allocations: 1.09 MB / 407.1 MB, free: 5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008798/0.06534, allocations: 6.237 MB / 413.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.06534, allocations: 0 / 413.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.06534, allocations: 0 / 413.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002101/0.06555, allocations: 0 / 413.3 MB, free: 14.74 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.01042/0.07597, allocations: 4.229 MB / 417.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.07601, allocations: 12.03 kB / 417.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007509/0.08352, allocations: 2.335 MB / 419.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/0.0877, allocations: 1.751 MB / 421.6 MB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.08793, allocations: 222.2 kB / 421.9 MB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009783/0.08891, allocations: 304.2 kB / 422.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.112, allocations: 10.7 MB / 432.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.1121, allocations: 35.73 kB / 432.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.1125, allocations: 151.8 kB / 433 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003968/0.1165, allocations: 2.032 MB / 435.1 MB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1865/0.303, allocations: 9.306 MB / 444.4 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/0.337, allocations: 35.5 MB / 479.9 MB, free: 70.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/0.3465, allocations: 3.741 MB / 483.6 MB, free: 69.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.3488, allocations: 2.095 MB / 485.7 MB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006832/0.3556, allocations: 4.661 MB / 490.4 MB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3556, allocations: 52.31 kB / 490.4 MB, free: 66.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.609e-06/0.3556, allocations: 1.781 kB / 490.4 MB, free: 66.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05927/0.4149, allocations: 22.65 MB / 0.5011 GB, free: 56.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.415, allocations: 145.8 kB / 0.5012 GB, free: 56.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.4178, allocations: 3.094 MB / 0.5042 GB, free: 53.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.418, allocations: 53.7 kB / 0.5043 GB, free: 53.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4192, allocations: 2.916 MB / 0.5071 GB, free: 51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006795/0.4198, allocations: 0.8192 MB / 0.5079 GB, free: 50.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.4212, allocations: 1.184 MB / 0.5091 GB, free: 49.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4213, allocations: 354.3 kB / 0.5094 GB, free: 48.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/0.4241, allocations: 2.339 MB / 0.5117 GB, free: 46.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.4285, allocations: 5.796 MB / 0.5174 GB, free: 39.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/0.4367, allocations: 8.821 MB / 0.526 GB, free: 28.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.679e-05/0.4367, allocations: 36 kB / 0.526 GB, free: 28.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01234/0.4491, allocations: 8.981 MB / 0.5348 GB, free: 19.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.4491, allocations: 57.56 kB / 0.5348 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-05/0.4492, allocations: 123.9 kB / 0.5349 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/0.4518, allocations: 1.085 MB / 0.536 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.4557, allocations: 1.376 MB / 0.5373 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.46, allocations: 5.55 MB / 0.5428 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.4637, allocations: 331.8 kB / 0.5431 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/0.4641, allocations: 360 kB / 0.5434 GB, free: 10.56 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.002206/0.4663, allocations: 1.931 MB / 0.5453 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.4669, allocations: 346.1 kB / 0.5456 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/0.4728, allocations: 3.908 MB / 0.5495 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.4728, allocations: 27.91 kB / 0.5495 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.4728, allocations: 4 kB / 0.5495 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.4728, allocations: 11.97 kB / 0.5495 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.4865, allocations: 7.655 MB / 0.557 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.4865, allocations: 4.062 kB / 0.557 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.4885, allocations: 359.4 kB / 0.5573 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.4914, allocations: 0.9125 MB / 0.5582 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/0.4916, allocations: 39.94 kB / 0.5583 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.4983, allocations: 4.859 MB / 0.563 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4983, allocations: 0 / 0.563 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.5116, allocations: 6.933 MB / 0.5698 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/0.5124, allocations: 253.9 kB / 0.57 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.5129, allocations: 32 kB / 0.57 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.5144, allocations: 119.8 kB / 0.5702 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.5148, allocations: 121.1 kB / 0.5703 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/0.515, allocations: 54.11 kB / 0.5703 GB, free: 14.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003043/0.518, allocations: 1.725 MB / 0.572 GB, free: 12.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.518, allocations: 0 / 0.572 GB, free: 12.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00519/0.5232, allocations: 0.9413 MB / 0.5729 GB, free: 12.03 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.0005718/0.5238, allocations: 177.4 kB / 0.5731 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01241/0.5362, allocations: 5.772 MB / 0.5787 GB, free: 6.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5362, allocations: 0 / 0.5787 GB, free: 6.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004945/0.5411, allocations: 2.196 MB / 0.5809 GB, free: 3.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.5433, allocations: 299 kB / 0.5812 GB, free: 3.562 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/0.563, allocations: 9.133 MB / 0.5901 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004546/0.5676, allocations: 2.466 MB / 0.5925 GB, free: 7.867 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004836/0.5724, allocations: 1.819 MB / 0.5943 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/0.5733, allocations: 220.5 kB / 0.5945 GB, free: 5.828 MB / 458.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5733, allocations: 0 / 0.5945 GB, free: 5.828 MB / 458.7 MB Notification: Performance of Templates: time 0.1944/0.7676, allocations: 29.87 MB / 0.6236 GB, free: 126 MB / 458.7 MB " [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/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_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: 6.970013977959752]