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.001322/0.001322, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001436, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 83.84 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3608, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01282/0.3737, allocations: 10.5 MB / 0.5413 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007962/0.3817, allocations: 3.246 MB / 0.5445 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.3842, allocations: 52.59 kB / 0.5445 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.3897, allocations: 2.373 MB / 0.5469 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.3952, allocations: 1.208 MB / 0.548 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.3975, allocations: 0.5195 MB / 0.5485 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.4024, allocations: 2.927 MB / 0.5514 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0043/0.4067, allocations: 3.028 MB / 0.5544 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.409, allocations: 1.261 MB / 0.5556 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.4121, allocations: 1.721 MB / 0.5573 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.4133, allocations: 296 kB / 0.5576 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.4161, allocations: 0.9987 MB / 0.5585 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.4182, allocations: 1.586 MB / 0.5601 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.4213, allocations: 1.957 MB / 0.562 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009006/0.4304, allocations: 6.265 MB / 0.5681 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4304, allocations: 3.938 kB / 0.5681 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4304, allocations: 0 / 0.5681 GB, free: 11.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002292/0.4307, allocations: 0 / 0.5681 GB, free: 11.59 MB / 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.008771/0.4394, allocations: 4.348 MB / 0.5724 GB, free: 7.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4395, allocations: 8.031 kB / 0.5724 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.4452, allocations: 1.843 MB / 0.5742 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.448, allocations: 1.774 MB / 0.5759 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.4482, allocations: 229.7 kB / 0.5761 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.4487, allocations: 299.8 kB / 0.5764 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.4662, allocations: 10.65 MB / 0.5868 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.551e-05/0.4664, allocations: 39.73 kB / 0.5868 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003554/0.4667, allocations: 147.9 kB / 0.587 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003389/0.4701, allocations: 2.036 MB / 0.589 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.4894, allocations: 9.352 MB / 0.5981 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/0.5343, allocations: 37.91 MB / 0.6351 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.545, allocations: 4.194 MB / 0.6392 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.548, allocations: 2.316 MB / 0.6415 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007867/0.5559, allocations: 6.109 MB / 0.6474 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.556, allocations: 51.88 kB / 0.6475 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 7.033e-06/0.556, allocations: 0 / 0.6475 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06435/0.6204, allocations: 22.22 MB / 0.6692 GB, free: 1.664 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.6205, allocations: 157.8 kB / 0.6693 GB, free: 1.477 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.6262, allocations: 3.379 MB / 0.6726 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005751/0.6269, allocations: 53.7 kB / 0.6727 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.629, allocations: 2.916 MB / 0.6755 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.6301, allocations: 0.8294 MB / 0.6764 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/0.6317, allocations: 1.207 MB / 0.6775 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.6318, allocations: 305.1 kB / 0.6778 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/0.6352, allocations: 2.346 MB / 0.6801 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/0.6411, allocations: 5.792 MB / 0.6858 GB, free: 14.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.6512, allocations: 8.816 MB / 0.6944 GB, free: 4.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.39e-05/0.6513, allocations: 36 kB / 0.6944 GB, free: 4.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01552/0.6668, allocations: 8.709 MB / 0.7029 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.667, allocations: 56 kB / 0.703 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.6671, allocations: 124 kB / 0.7031 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.6698, allocations: 1.046 MB / 0.7041 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/0.6743, allocations: 1.384 MB / 0.7055 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.6802, allocations: 5.815 MB / 0.7111 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/0.6843, allocations: 335.5 kB / 0.7115 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.6853, allocations: 360 kB / 0.7118 GB, free: 2.191 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.003493/0.6888, allocations: 1.946 MB / 0.7137 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/0.6895, allocations: 325.8 kB / 0.714 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007011/0.6965, allocations: 3.959 MB / 0.7179 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.6966, allocations: 20 kB / 0.7179 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6966, allocations: 4 kB / 0.7179 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.6966, allocations: 11.97 kB / 0.7179 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.7113, allocations: 8.823 MB / 0.7265 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.7114, allocations: 0 / 0.7265 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.7131, allocations: 351.5 kB / 0.7269 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.7156, allocations: 0.8617 MB / 0.7277 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/0.7159, allocations: 47.97 kB / 0.7278 GB, free: 1.711 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2922/1.008, allocations: 5.124 MB / 0.7328 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.008, allocations: 1.25 kB / 0.7328 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009992/1.018, allocations: 6.922 MB / 0.7395 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009852/1.019, allocations: 374.6 kB / 0.7399 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/1.02, allocations: 39.06 kB / 0.7399 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.021, allocations: 118.2 kB / 0.74 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/1.021, allocations: 115.1 kB / 0.7401 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.022, allocations: 63.91 kB / 0.7402 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002978/1.025, allocations: 2.077 MB / 0.7422 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.81e-07/1.025, allocations: 0 / 0.7422 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004587/1.029, allocations: 0.9482 MB / 0.7432 GB, free: 171.8 MB / 0.5763 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.0004377/1.03, allocations: 174.2 kB / 0.7433 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008123/1.038, allocations: 6.158 MB / 0.7493 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.038, allocations: 0 / 0.7493 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003245/1.041, allocations: 2.481 MB / 0.7518 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.043, allocations: 350.6 kB / 0.7521 GB, free: 167.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.054, allocations: 9.17 MB / 0.761 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/1.057, allocations: 3.022 MB / 0.764 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003347/1.06, allocations: 1.857 MB / 0.7658 GB, free: 156.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/1.061, allocations: 235.4 kB / 0.766 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of SimCode: time 7.31e-07/1.061, allocations: 0 / 0.766 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.04939/1.11, allocations: 34.01 MB / 0.7992 GB, free: 122.7 MB / 0.5763 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