Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 108.2 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2882/0.2882, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.7 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01133/0.142, allocations: 10.53 MB / 481.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.1482, allocations: 3.197 MB / 484.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.1494, allocations: 51.88 kB / 484.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.1534, allocations: 2.363 MB / 486.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.1567, allocations: 1.217 MB / 488.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1579, allocations: 0.5146 MB / 488.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00389/0.1618, allocations: 2.958 MB / 491.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.165, allocations: 3.021 MB / 494.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1666, allocations: 1.273 MB / 495.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.1686, allocations: 1.729 MB / 497.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.1691, allocations: 296 kB / 497.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.1707, allocations: 0.9831 MB / 498.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.172, allocations: 1.605 MB / 0.4887 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.1739, allocations: 1.98 MB / 0.4906 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.1802, allocations: 6.275 MB / 0.4968 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1802, allocations: 4 kB / 0.4968 GB, free: 7.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1802, allocations: 0 / 0.4968 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.1804, allocations: 0 / 0.4968 GB, free: 7.465 MB / 382.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.0074/0.1878, allocations: 4.253 MB / 0.5009 GB, free: 3.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1878, allocations: 12.02 kB / 0.5009 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.1934, allocations: 1.805 MB / 0.5027 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.211/0.4044, allocations: 1.774 MB / 0.5044 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.4047, allocations: 228.3 kB / 0.5046 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4058, allocations: 300.4 kB / 0.5049 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.4254, allocations: 10.63 MB / 0.5153 GB, free: 41.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.4255, allocations: 38.75 kB / 0.5154 GB, free: 41.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/0.4259, allocations: 148 kB / 0.5155 GB, free: 41.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/0.4292, allocations: 2.037 MB / 0.5175 GB, free: 40.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.447, allocations: 9.325 MB / 0.5266 GB, free: 36.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03696/0.484, allocations: 37.84 MB / 0.5636 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.4946, allocations: 4.164 MB / 0.5676 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.4974, allocations: 2.301 MB / 0.5699 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008978/0.5064, allocations: 6.018 MB / 0.5757 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5065, allocations: 59.8 kB / 0.5758 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 4.539e-06/0.5065, allocations: 4 kB / 0.5758 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.06035/0.5669, allocations: 21.94 MB / 0.5972 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.567, allocations: 157.7 kB / 0.5974 GB, free: 10.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.5714, allocations: 3.382 MB / 0.6007 GB, free: 6.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.5717, allocations: 57.7 kB / 0.6007 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.5736, allocations: 2.79 MB / 0.6035 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/0.5744, allocations: 0.7981 MB / 0.6042 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.576, allocations: 1.194 MB / 0.6054 GB, free: 1.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.5761, allocations: 301.1 kB / 0.6057 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/0.5795, allocations: 2.331 MB / 0.608 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006407/0.5859, allocations: 5.781 MB / 0.6136 GB, free: 7.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.5961, allocations: 8.81 MB / 0.6222 GB, free: 13.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.5962, allocations: 32 kB / 0.6222 GB, free: 13.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01478/0.611, allocations: 8.682 MB / 0.6307 GB, free: 4.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.6111, allocations: 56 kB / 0.6308 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/0.6113, allocations: 124 kB / 0.6309 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.614, allocations: 1.046 MB / 0.6319 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/0.6185, allocations: 1.38 MB / 0.6333 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.6247, allocations: 5.81 MB / 0.6389 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.6287, allocations: 327.4 kB / 0.6393 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/0.6293, allocations: 360 kB / 0.6396 GB, free: 11.15 MB / 478.1 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.002825/0.6321, allocations: 1.935 MB / 0.6415 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005777/0.6327, allocations: 308 kB / 0.6418 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/0.6396, allocations: 3.941 MB / 0.6456 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.6396, allocations: 24 kB / 0.6457 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.6397, allocations: 4.656 kB / 0.6457 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.6397, allocations: 11.97 kB / 0.6457 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.6553, allocations: 8.859 MB / 0.6543 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.6554, allocations: 0 / 0.6543 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.6571, allocations: 347.5 kB / 0.6546 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.6596, allocations: 0.8695 MB / 0.6555 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/0.6598, allocations: 36 kB / 0.6555 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.6648, allocations: 5.099 MB / 0.6605 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6648, allocations: 0 / 0.6605 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.6753, allocations: 6.867 MB / 0.6672 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008895/0.6763, allocations: 364.9 kB / 0.6676 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.6767, allocations: 36.06 kB / 0.6676 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6781, allocations: 115.8 kB / 0.6677 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.6785, allocations: 117.1 kB / 0.6678 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.6786, allocations: 55.94 kB / 0.6679 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003135/0.6818, allocations: 2.077 MB / 0.6699 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6818, allocations: 0 / 0.6699 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004604/0.6864, allocations: 0.9662 MB / 0.6708 GB, free: 10.67 MB / 0.4981 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.0004095/0.6868, allocations: 184.8 kB / 0.671 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009715/0.6965, allocations: 6.141 MB / 0.677 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6966, allocations: 3.938 kB / 0.677 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.7008, allocations: 2.456 MB / 0.6794 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7029, allocations: 359.8 kB / 0.6798 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.7192, allocations: 9.036 MB / 0.6886 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/0.7224, allocations: 3.018 MB / 0.6915 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004088/0.7265, allocations: 1.857 MB / 0.6934 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/0.7273, allocations: 243.4 kB / 0.6936 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.7273, allocations: 3.938 kB / 0.6936 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of Templates: time 0.2676/0.995, allocations: 32.12 MB / 0.725 GB, free: 160.5 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches