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.001305/0.001305, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001488/0.001488, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2368/0.2368, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.002099/0.002099, allocations: 71.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01233/0.34, allocations: 9.217 MB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.3478, allocations: 3.112 MB / 0.5739 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.3495, allocations: 59.75 kB / 0.5739 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005309/0.3548, allocations: 2.32 MB / 0.5762 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.3593, allocations: 1.264 MB / 0.5774 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3611, allocations: 0.5146 MB / 0.5779 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.3658, allocations: 2.928 MB / 0.5808 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.3694, allocations: 2.46 MB / 0.5832 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.3717, allocations: 1.285 MB / 0.5845 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.3747, allocations: 1.849 MB / 0.5863 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007819/0.3755, allocations: 296 kB / 0.5865 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.3776, allocations: 0.9089 MB / 0.5874 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.3794, allocations: 1.62 MB / 0.589 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.3816, allocations: 1.444 MB / 0.5904 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008069/0.3896, allocations: 6.283 MB / 0.5966 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3896, allocations: 4 kB / 0.5966 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3896, allocations: 0 / 0.5966 GB, free: 452 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.3898, allocations: 3.938 kB / 0.5966 GB, free: 448 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.009813/0.3996, allocations: 4.28 MB / 0.6007 GB, free: 12.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3997, allocations: 11.97 kB / 0.6008 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/0.4061, allocations: 1.831 MB / 0.6025 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.411, allocations: 1.725 MB / 0.6042 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4112, allocations: 229.7 kB / 0.6044 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.4123, allocations: 303.8 kB / 0.6047 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.4345, allocations: 10.7 MB / 0.6152 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.4346, allocations: 39.69 kB / 0.6152 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/0.435, allocations: 147.8 kB / 0.6154 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003649/0.4386, allocations: 2.04 MB / 0.6174 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.4589, allocations: 9.323 MB / 0.6265 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.509, allocations: 35.4 MB / 0.661 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.52, allocations: 3.593 MB / 0.6645 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.5232, allocations: 2.09 MB / 0.6666 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009447/0.5326, allocations: 4.613 MB / 0.6711 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.5327, allocations: 55.81 kB / 0.6711 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 6.202e-06/0.5327, allocations: 0 / 0.6711 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06759/0.6003, allocations: 21.9 MB / 0.6925 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.6004, allocations: 145.8 kB / 0.6927 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.6048, allocations: 3.087 MB / 0.6957 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/0.6053, allocations: 61.69 kB / 0.6957 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/0.6077, allocations: 2.95 MB / 0.6986 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.6089, allocations: 0.8372 MB / 0.6994 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.6108, allocations: 1.203 MB / 0.7006 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.611, allocations: 357.9 kB / 0.7009 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.6148, allocations: 2.342 MB / 0.7032 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006926/0.6217, allocations: 5.788 MB / 0.7089 GB, free: 9.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/0.6342, allocations: 8.827 MB / 0.7175 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000147/0.6344, allocations: 36 kB / 0.7175 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01792/0.6523, allocations: 8.657 MB / 0.726 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/0.6524, allocations: 56 kB / 0.726 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.6525, allocations: 124 kB / 0.7262 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/0.6554, allocations: 1.046 MB / 0.7272 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005193/0.6606, allocations: 1.38 MB / 0.7285 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2989/0.9595, allocations: 5.517 MB / 0.7339 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.9643, allocations: 331.6 kB / 0.7342 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008808/0.9652, allocations: 358.6 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.002893/0.9681, allocations: 1.944 MB / 0.7365 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.9686, allocations: 286.2 kB / 0.7368 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/0.9747, allocations: 3.909 MB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.9747, allocations: 11.19 kB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9747, allocations: 2.188 kB / 0.7406 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/0.9753, allocations: 250.5 kB / 0.7408 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.9757, allocations: 35.34 kB / 0.7409 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.977, allocations: 126.4 kB / 0.741 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.9773, allocations: 135 kB / 0.7411 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007368/0.9847, allocations: 4.508 MB / 0.7455 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006775/0.9915, allocations: 6.193 MB / 0.7516 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001752/0.9932, allocations: 1.528 MB / 0.753 GB, free: 143 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002142/0.9954, allocations: 1.733 MB / 0.7547 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of Backend: time 2.81e-07/0.9954, allocations: 0 / 0.7547 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008738/1.004, allocations: 4.485 MB / 0.7591 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01195/1.016, allocations: 8.575 MB / 0.7675 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06822/1.084, allocations: 48.91 MB / 0.8153 GB, free: 81.23 MB / 0.5606 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: 7.150991269001679]