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.001067/0.001073, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001347, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003413, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 63.55 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2773/0.4145, allocations: 37.16 MB / 0.508 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.4301, allocations: 7.701 MB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006849/0.437, allocations: 157.2 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.4386, allocations: 409.6 kB / 0.5161 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.4428, allocations: 1.141 MB / 0.5172 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.4443, allocations: 480.4 kB / 0.5177 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006392/0.4507, allocations: 4.295 MB / 0.5219 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006404/0.4572, allocations: 4.174 MB / 0.5259 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.4598, allocations: 0.9125 MB / 0.5268 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.4624, allocations: 1.586 MB / 0.5284 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.4629, allocations: 129.8 kB / 0.5285 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.4648, allocations: 0.9021 MB / 0.5294 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.4661, allocations: 1.42 MB / 0.5308 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.4677, allocations: 1.772 MB / 0.5325 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.4738, allocations: 5.779 MB / 0.5381 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4738, allocations: 3.938 kB / 0.5381 GB, free: 148 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4738, allocations: 0 / 0.5381 GB, free: 148 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001542/0.474, allocations: 0 / 0.5381 GB, free: 148 kB / 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.007278/0.4813, allocations: 3.447 MB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4813, allocations: 8.938 kB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.4876, allocations: 1.851 MB / 0.5433 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.491, allocations: 1.739 MB / 0.545 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4912, allocations: 228.4 kB / 0.5452 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005515/0.4918, allocations: 305.1 kB / 0.5455 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.5124, allocations: 10.67 MB / 0.556 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.5126, allocations: 35.66 kB / 0.556 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003896/0.513, allocations: 150.7 kB / 0.5561 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00366/0.5167, allocations: 2.04 MB / 0.5581 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.5375, allocations: 9.375 MB / 0.5673 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04754/0.5851, allocations: 38.02 MB / 0.6044 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.5958, allocations: 4.211 MB / 0.6085 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.5989, allocations: 2.303 MB / 0.6108 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008714/0.6077, allocations: 6.126 MB / 0.6168 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.6077, allocations: 55.81 kB / 0.6168 GB, free: 1.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.29e-06/0.6078, allocations: 0 / 0.6168 GB, free: 1.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06535/0.6731, allocations: 22.04 MB / 0.6383 GB, free: 10.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6732, allocations: 153.8 kB / 0.6385 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004622/0.6779, allocations: 3.366 MB / 0.6418 GB, free: 7.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004486/0.6783, allocations: 57.7 kB / 0.6418 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.6804, allocations: 2.79 MB / 0.6445 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.6816, allocations: 0.804 MB / 0.6453 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006669/0.6823, allocations: 0.4991 MB / 0.6458 GB, free: 3.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6824, allocations: 309.1 kB / 0.6461 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/0.686, allocations: 2.342 MB / 0.6484 GB, free: 464 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/0.6919, allocations: 5.8 MB / 0.6541 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.7028, allocations: 8.833 MB / 0.6627 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.703, allocations: 32 kB / 0.6627 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.018/0.721, allocations: 8.695 MB / 0.6712 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.7212, allocations: 56 kB / 0.6713 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/0.7215, allocations: 124 kB / 0.6714 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.7247, allocations: 1.039 MB / 0.6724 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/0.7301, allocations: 1.38 MB / 0.6737 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/0.7362, allocations: 5.419 MB / 0.679 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.7408, allocations: 334.9 kB / 0.6794 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/0.742, allocations: 356 kB / 0.6797 GB, free: 12.69 MB / 0.5294 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.004588/0.7466, allocations: 1.938 MB / 0.6816 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009236/0.7475, allocations: 311.9 kB / 0.6819 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00832/0.7559, allocations: 3.967 MB / 0.6858 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/0.7559, allocations: 27.94 kB / 0.6858 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.756, allocations: 4 kB / 0.6858 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.756, allocations: 7.969 kB / 0.6858 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.776, allocations: 8.918 MB / 0.6945 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.7761, allocations: 3.938 kB / 0.6945 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.778, allocations: 351.5 kB / 0.6948 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/0.7808, allocations: 0.8771 MB / 0.6957 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003433/0.7812, allocations: 35.98 kB / 0.6957 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005633/0.7869, allocations: 4.754 MB / 0.7004 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7869, allocations: 320 / 0.7004 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.7997, allocations: 6.902 MB / 0.7071 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2267/1.026, allocations: 355.6 kB / 0.7075 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009979/1.027, allocations: 33.34 kB / 0.7075 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.029, allocations: 123.3 kB / 0.7076 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/1.03, allocations: 117.2 kB / 0.7077 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.03, allocations: 54 kB / 0.7078 GB, free: 193.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003652/1.033, allocations: 2.074 MB / 0.7098 GB, free: 193.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.663e-06/1.033, allocations: 6.938 kB / 0.7098 GB, free: 193.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004728/1.038, allocations: 0.9519 MB / 0.7107 GB, free: 193.5 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 (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.0004828/1.039, allocations: 172.7 kB / 0.7109 GB, free: 193.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.049, allocations: 6.14 MB / 0.7169 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.049, allocations: 0 / 0.7169 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004443/1.053, allocations: 2.483 MB / 0.7193 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.056, allocations: 337.5 kB / 0.7196 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.074, allocations: 11.15 MB / 0.7305 GB, free: 184.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/1.076, allocations: 3.022 MB / 0.7335 GB, free: 183.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004062/1.08, allocations: 1.858 MB / 0.7353 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/1.081, allocations: 242.2 kB / 0.7355 GB, free: 183.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.081, allocations: 3.938 kB / 0.7355 GB, free: 183.2 MB / 0.545 GB Notification: Performance of Templates: time 0.05461/1.136, allocations: 35.1 MB / 0.7698 GB, free: 155.5 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