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.001478/0.001478, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001649/0.001649, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.385/1.385, allocations: 222.9 MB / 242.9 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.208/0.208, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.62 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01116/0.1224, allocations: 10.52 MB / 480.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006343/0.1288, allocations: 3.205 MB / 483.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.1302, allocations: 51.88 kB / 483.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.1347, allocations: 2.359 MB / 486.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.138, allocations: 1.229 MB / 487.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1395, allocations: 0.5029 MB / 487.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.1435, allocations: 2.958 MB / 490.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.1471, allocations: 3.025 MB / 493.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.149, allocations: 1.273 MB / 495 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.1514, allocations: 1.721 MB / 496.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006935/0.1521, allocations: 299.9 kB / 497.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.1541, allocations: 0.9909 MB / 498 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.1557, allocations: 1.601 MB / 499.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.158, allocations: 1.984 MB / 0.4899 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006323/0.1643, allocations: 6.043 MB / 0.4958 GB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1644, allocations: 0 / 0.4958 GB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1644, allocations: 0 / 0.4958 GB, free: 8.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.1646, allocations: 0 / 0.4958 GB, free: 8.441 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.008556/0.1731, allocations: 4.249 MB / 0.4999 GB, free: 4.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1732, allocations: 12.03 kB / 0.4999 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006276/0.1795, allocations: 1.805 MB / 0.5017 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/0.183, allocations: 1.754 MB / 0.5034 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.1832, allocations: 225.7 kB / 0.5036 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1889/0.3721, allocations: 301.7 kB / 0.5039 GB, free: 45.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/0.3959, allocations: 10.62 MB / 0.5143 GB, free: 41.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.3962, allocations: 36.88 kB / 0.5143 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009558/0.3972, allocations: 145.9 kB / 0.5145 GB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003944/0.4011, allocations: 2.043 MB / 0.5165 GB, free: 41.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.4205, allocations: 9.328 MB / 0.5256 GB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04126/0.4619, allocations: 38.01 MB / 0.5627 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.473, allocations: 4.164 MB / 0.5668 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/0.4761, allocations: 2.302 MB / 0.569 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008969/0.4851, allocations: 6.026 MB / 0.5749 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4852, allocations: 55.8 kB / 0.5749 GB, free: 1.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=181): time 4.478e-06/0.4852, allocations: 0 / 0.5749 GB, free: 1.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=210): time 0.06625/0.5514, allocations: 21.95 MB / 0.5964 GB, free: 11.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.5516, allocations: 145.8 kB / 0.5965 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/0.5571, allocations: 3.389 MB / 0.5998 GB, free: 7.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004213/0.5575, allocations: 53.7 kB / 0.5999 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/0.5595, allocations: 2.794 MB / 0.6026 GB, free: 4.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.5606, allocations: 0.7942 MB / 0.6034 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/0.563, allocations: 1.198 MB / 0.6046 GB, free: 2.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.5631, allocations: 305.1 kB / 0.6048 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/0.5668, allocations: 2.331 MB / 0.6071 GB, free: 352 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006291/0.5731, allocations: 5.788 MB / 0.6128 GB, free: 8.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.5835, allocations: 8.811 MB / 0.6214 GB, free: 14.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-05/0.5836, allocations: 36 kB / 0.6214 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01644/0.6001, allocations: 8.667 MB / 0.6299 GB, free: 5.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.6003, allocations: 60 kB / 0.6299 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/0.6004, allocations: 124.1 kB / 0.63 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.6033, allocations: 1.045 MB / 0.6311 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.6079, allocations: 1.376 MB / 0.6324 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.6139, allocations: 5.824 MB / 0.6381 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/0.6179, allocations: 331.6 kB / 0.6384 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008757/0.6188, allocations: 356 kB / 0.6388 GB, free: 12.21 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.003538/0.6224, allocations: 1.943 MB / 0.6407 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008036/0.6232, allocations: 308 kB / 0.6409 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/0.6307, allocations: 3.94 MB / 0.6448 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.6308, allocations: 27.98 kB / 0.6448 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.6308, allocations: 4 kB / 0.6448 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.6308, allocations: 11.97 kB / 0.6448 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.6471, allocations: 8.872 MB / 0.6535 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.6472, allocations: 4 kB / 0.6535 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.649, allocations: 347.5 kB / 0.6538 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.6515, allocations: 0.8695 MB / 0.6547 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/0.6518, allocations: 39.98 kB / 0.6547 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/0.657, allocations: 5.096 MB / 0.6597 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.657, allocations: 0 / 0.6597 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.6679, allocations: 6.869 MB / 0.6664 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.6688, allocations: 349 kB / 0.6667 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007083/0.6695, allocations: 36 kB / 0.6668 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.6713, allocations: 119.8 kB / 0.6669 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.6718, allocations: 125.1 kB / 0.667 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.6719, allocations: 52 kB / 0.6671 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003612/0.6756, allocations: 2.081 MB / 0.6691 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6756, allocations: 0 / 0.6691 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005008/0.6806, allocations: 0.9661 MB / 0.67 GB, free: 11.7 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.0005829/0.6812, allocations: 177.8 kB / 0.6702 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01363/0.6948, allocations: 7.851 MB / 0.6779 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6949, allocations: 0 / 0.6779 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.6992, allocations: 2.476 MB / 0.6803 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.7019, allocations: 359.3 kB / 0.6806 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.7196, allocations: 9.557 MB / 0.69 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/0.7237, allocations: 3.026 MB / 0.6929 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.725, allocations: 287.4 kB / 0.6932 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.725, allocations: 3.938 kB / 0.6932 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of Templates: time 0.3264/1.051, allocations: 124.5 MB / 0.8148 GB, free: 69.48 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 -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