Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 98.95 kB / 17 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 192.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.7 MB / 246.4 MB, free: 9.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8.219 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1395, allocations: 63.57 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03315/0.1727, allocations: 34.6 MB / 0.5049 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2812/0.454, allocations: 7.356 MB / 0.5121 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00677/0.4608, allocations: 155.4 kB / 0.5122 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006606/0.4674, allocations: 1.781 MB / 0.514 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01764/0.4851, allocations: 4.887 MB / 0.5187 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.4897, allocations: 419.1 kB / 0.5191 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006748/0.4965, allocations: 3.429 MB / 0.5225 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007258/0.5038, allocations: 3.78 MB / 0.5262 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.5064, allocations: 0.9836 MB / 0.5271 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.5098, allocations: 1.558 MB / 0.5287 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.5109, allocations: 130 kB / 0.5288 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.5137, allocations: 0.754 MB / 0.5295 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.516, allocations: 1.37 MB / 0.5309 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.5176, allocations: 0.7501 MB / 0.5316 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.5231, allocations: 4.759 MB / 0.5362 GB, free: 3.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5231, allocations: 0 / 0.5362 GB, free: 3.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5232, allocations: 0 / 0.5362 GB, free: 3.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000289/0.5235, allocations: 0 / 0.5362 GB, free: 3.473 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.009153/0.5326, allocations: 3.487 MB / 0.5396 GB, free: 1.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5327, allocations: 7.719 kB / 0.5396 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.5389, allocations: 1.851 MB / 0.5415 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.543, allocations: 1.722 MB / 0.5431 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.5433, allocations: 225.1 kB / 0.5433 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/0.5451, allocations: 300.6 kB / 0.5436 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/0.5719, allocations: 10.65 MB / 0.554 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002611/0.5722, allocations: 39.59 kB / 0.5541 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/0.5736, allocations: 144.3 kB / 0.5542 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.5775, allocations: 2.041 MB / 0.5562 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02201/0.5996, allocations: 9.331 MB / 0.5653 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05549/0.6551, allocations: 38.01 MB / 0.6024 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.6665, allocations: 4.205 MB / 0.6065 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/0.6701, allocations: 2.294 MB / 0.6088 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.6811, allocations: 6.125 MB / 0.6148 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.6812, allocations: 51.88 kB / 0.6148 GB, free: 9.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.44e-06/0.6812, allocations: 0 / 0.6148 GB, free: 9.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06749/0.7487, allocations: 22.02 MB / 0.6363 GB, free: 3.098 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.7488, allocations: 159 kB / 0.6365 GB, free: 2.914 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007166/0.756, allocations: 3.346 MB / 0.6397 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006001/0.7567, allocations: 57.58 kB / 0.6398 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002972/0.7596, allocations: 2.8 MB / 0.6425 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001599/0.7613, allocations: 0.7908 MB / 0.6433 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009224/0.7622, allocations: 120 kB / 0.6434 GB, free: 11.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006615/0.7629, allocations: 0.5502 MB / 0.6439 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/0.7673, allocations: 2.327 MB / 0.6462 GB, free: 8.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00678/0.7741, allocations: 5.765 MB / 0.6518 GB, free: 1.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.7801, allocations: 3.591 MB / 0.6554 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/0.7802, allocations: 32 kB / 0.6554 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01815/0.7984, allocations: 8.657 MB / 0.6638 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.7985, allocations: 56 kB / 0.6639 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002266/0.7988, allocations: 124.1 kB / 0.664 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.8017, allocations: 1.057 MB / 0.665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/0.807, allocations: 1.388 MB / 0.6664 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/0.8133, allocations: 5.402 MB / 0.6717 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005834/0.8192, allocations: 335.4 kB / 0.672 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/0.8207, allocations: 355.1 kB / 0.6723 GB, free: 12.18 MB / 0.5137 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006061/0.8268, allocations: 1.943 MB / 0.6742 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.8279, allocations: 308.1 kB / 0.6745 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/0.8373, allocations: 3.959 MB / 0.6784 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/0.8374, allocations: 28 kB / 0.6784 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/0.8375, allocations: 8 kB / 0.6784 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/0.8375, allocations: 9.5 kB / 0.6784 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/0.859, allocations: 8.894 MB / 0.6871 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.8591, allocations: 7.953 kB / 0.6871 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.861, allocations: 363.4 kB / 0.6875 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.8634, allocations: 0.8602 MB / 0.6883 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/0.8638, allocations: 39.98 kB / 0.6884 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005287/0.8691, allocations: 4.746 MB / 0.693 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8692, allocations: 64 / 0.693 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.8818, allocations: 6.889 MB / 0.6997 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.8833, allocations: 368.9 kB / 0.7001 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/0.8843, allocations: 32 kB / 0.7001 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.8864, allocations: 127.8 kB / 0.7002 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/0.8868, allocations: 121.4 kB / 0.7003 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/0.8871, allocations: 55.95 kB / 0.7004 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004909/0.892, allocations: 2.061 MB / 0.7024 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.892, allocations: 0 / 0.7024 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007164/0.8992, allocations: 0.9531 MB / 0.7033 GB, free: 12.03 MB / 0.545 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.9002, allocations: 165.5 kB / 0.7035 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01318/0.9134, allocations: 6.121 MB / 0.7095 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9134, allocations: 0 / 0.7095 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00461/0.9181, allocations: 2.475 MB / 0.7119 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.9213, allocations: 338.6 kB / 0.7122 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2555/1.177, allocations: 10.73 MB / 0.7227 GB, free: 193 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/1.18, allocations: 3.017 MB / 0.7256 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005199/1.186, allocations: 1.85 MB / 0.7274 GB, free: 192.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/1.186, allocations: 243.2 kB / 0.7277 GB, free: 192.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/1.186, allocations: 2.812 kB / 0.7277 GB, free: 192.1 MB / 0.545 GB Notification: Performance of Templates: time 0.05354/1.24, allocations: 34.39 MB / 0.7613 GB, free: 172 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches