Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001232/0.001232, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001204/0.001204, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 69.59 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.09005, allocations: 57.79 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.009805/0.09989, allocations: 10.55 MB / 451.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006412/0.1064, allocations: 3.253 MB / 455 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.1078, allocations: 51.88 kB / 455 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004694/0.1125, allocations: 2.367 MB / 457.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.1161, allocations: 1.221 MB / 458.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1178, allocations: 0.5224 MB / 459.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.1222, allocations: 2.959 MB / 462.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004443/0.1267, allocations: 3.036 MB / 465.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.1292, allocations: 1.277 MB / 466.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.1322, allocations: 1.744 MB / 468.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.1332, allocations: 296 kB / 468.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.1356, allocations: 0.9792 MB / 469.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.1376, allocations: 1.605 MB / 471 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.1409, allocations: 1.969 MB / 473 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007542/0.1484, allocations: 6.047 MB / 479.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1485, allocations: 4 kB / 479.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1485, allocations: 0 / 479.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002626/0.1488, allocations: 4 kB / 479.1 MB, free: 0.8672 MB / 350.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.009946/0.1587, allocations: 4.257 MB / 483.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1588, allocations: 11.89 kB / 483.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.1652, allocations: 1.805 MB / 485.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.1688, allocations: 1.758 MB / 486.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.169, allocations: 233.7 kB / 487.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008505/0.1699, allocations: 299.8 kB / 487.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.1905, allocations: 10.62 MB / 498 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.1907, allocations: 39.59 kB / 498.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009924/0.1918, allocations: 151.8 kB / 498.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.1955, allocations: 2.036 MB / 0.4885 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/0.2154, allocations: 9.324 MB / 0.4976 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2624/0.4778, allocations: 38 MB / 0.5348 GB, free: 63.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.4888, allocations: 4.17 MB / 0.5388 GB, free: 62.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.4919, allocations: 2.304 MB / 0.5411 GB, free: 62.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008256/0.5002, allocations: 6.022 MB / 0.547 GB, free: 60.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.5003, allocations: 55.16 kB / 0.547 GB, free: 60.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 4.95e-06/0.5003, allocations: 2.438 kB / 0.547 GB, free: 60.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.0588/0.5591, allocations: 21.94 MB / 0.5684 GB, free: 49.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.5592, allocations: 149.8 kB / 0.5686 GB, free: 49.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/0.5628, allocations: 3.387 MB / 0.5719 GB, free: 45.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003463/0.5632, allocations: 61.06 kB / 0.572 GB, free: 45.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.5643, allocations: 2.798 MB / 0.5747 GB, free: 42.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.5649, allocations: 0.7954 MB / 0.5755 GB, free: 42.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.5661, allocations: 1.194 MB / 0.5766 GB, free: 40.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.5662, allocations: 313 kB / 0.5769 GB, free: 40.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/0.569, allocations: 2.328 MB / 0.5792 GB, free: 38.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/0.5732, allocations: 5.781 MB / 0.5848 GB, free: 30.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008138/0.5814, allocations: 8.804 MB / 0.5934 GB, free: 20.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.389e-05/0.5815, allocations: 36 kB / 0.5935 GB, free: 20.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01413/0.5957, allocations: 8.68 MB / 0.602 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.5958, allocations: 56 kB / 0.602 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.5959, allocations: 124 kB / 0.6021 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.5984, allocations: 1.044 MB / 0.6031 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/0.6027, allocations: 1.376 MB / 0.6045 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.6074, allocations: 5.822 MB / 0.6102 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/0.6121, allocations: 327.5 kB / 0.6105 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009633/0.6131, allocations: 352 kB / 0.6108 GB, free: 2.477 MB / 414.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.003398/0.6165, allocations: 1.959 MB / 0.6127 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000637/0.6172, allocations: 308 kB / 0.613 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/0.6243, allocations: 3.945 MB / 0.6169 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.6244, allocations: 24.66 kB / 0.6169 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.6244, allocations: 4 kB / 0.6169 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/0.6244, allocations: 15.95 kB / 0.6169 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.641, allocations: 8.89 MB / 0.6256 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/0.6411, allocations: 0 / 0.6256 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.643, allocations: 351.4 kB / 0.6259 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.6455, allocations: 0.8696 MB / 0.6268 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/0.6459, allocations: 39.19 kB / 0.6268 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/0.6511, allocations: 5.09 MB / 0.6318 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6511, allocations: 7.969 kB / 0.6318 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.6626, allocations: 6.853 MB / 0.6385 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/0.6645, allocations: 0.6881 MB / 0.6392 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008139/0.6653, allocations: 36 kB / 0.6392 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.6672, allocations: 115.8 kB / 0.6393 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.6676, allocations: 121.1 kB / 0.6394 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.6678, allocations: 55.81 kB / 0.6395 GB, free: 4.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003756/0.6716, allocations: 2.085 MB / 0.6415 GB, free: 2.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6716, allocations: 0 / 0.6415 GB, free: 2.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005062/0.6767, allocations: 0.9714 MB / 0.6425 GB, free: 1.66 MB / 446.1 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.0006325/0.6773, allocations: 169.4 kB / 0.6426 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01423/0.6916, allocations: 7.835 MB / 0.6503 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.6916, allocations: 4 kB / 0.6503 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/0.6962, allocations: 2.476 MB / 0.6527 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/0.6992, allocations: 355.3 kB / 0.653 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.7172, allocations: 9.573 MB / 0.6624 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/0.7207, allocations: 3.027 MB / 0.6653 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.7219, allocations: 283.4 kB / 0.6656 GB, free: 9.836 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7219, allocations: 4 kB / 0.6656 GB, free: 9.832 MB / 478.1 MB Notification: Performance of Templates: time 0.3323/1.054, allocations: 124.5 MB / 0.7872 GB, free: 136.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches