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.00138/0.00138, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.3 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.09 MB / 344.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 78.38 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1173, allocations: 62.44 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2449/0.3623, allocations: 38.24 MB / 0.506 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3782, allocations: 7.755 MB / 0.5136 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007251/0.3855, allocations: 159.5 kB / 0.5138 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.3905, allocations: 2.353 MB / 0.5161 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.3943, allocations: 1.139 MB / 0.5172 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3959, allocations: 474.3 kB / 0.5176 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006158/0.4021, allocations: 4.292 MB / 0.5218 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005089/0.4072, allocations: 2.992 MB / 0.5247 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.41, allocations: 1.112 MB / 0.5258 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.4133, allocations: 1.825 MB / 0.5276 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.4147, allocations: 220.3 kB / 0.5278 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.4174, allocations: 0.9794 MB / 0.5288 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.4195, allocations: 1.528 MB / 0.5303 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.4229, allocations: 1.9 MB / 0.5321 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.4282, allocations: 4.865 MB / 0.5369 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4282, allocations: 2.281 kB / 0.5369 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4283, allocations: 4 kB / 0.5369 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.4285, allocations: 0 / 0.5369 GB, free: 15.98 MB / 398.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.01096/0.4395, allocations: 4.245 MB / 0.541 GB, free: 13.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4396, allocations: 14.23 kB / 0.541 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/0.4456, allocations: 1.808 MB / 0.5428 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.4493, allocations: 1.74 MB / 0.5445 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4495, allocations: 233.9 kB / 0.5447 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4506, allocations: 296.5 kB / 0.545 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.4715, allocations: 10.65 MB / 0.5554 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.4717, allocations: 35.69 kB / 0.5554 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008715/0.4725, allocations: 148.7 kB / 0.5556 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003577/0.4761, allocations: 2.045 MB / 0.5576 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/0.4957, allocations: 9.352 MB / 0.5667 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04826/0.544, allocations: 38.01 MB / 0.6038 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.555, allocations: 4.188 MB / 0.6079 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.5581, allocations: 2.316 MB / 0.6102 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009091/0.5672, allocations: 6.109 MB / 0.6161 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.5673, allocations: 51.88 kB / 0.6162 GB, free: 15.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 4.399e-06/0.5673, allocations: 0 / 0.6162 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.0647/0.632, allocations: 22.01 MB / 0.6377 GB, free: 9.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6322, allocations: 153.8 kB / 0.6378 GB, free: 9.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/0.6377, allocations: 3.37 MB / 0.6411 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.6381, allocations: 59.73 kB / 0.6412 GB, free: 6.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002015/0.6402, allocations: 2.791 MB / 0.6439 GB, free: 3.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.6413, allocations: 0.7945 MB / 0.6447 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/0.6437, allocations: 1.194 MB / 0.6458 GB, free: 1.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6439, allocations: 309.1 kB / 0.6461 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.6477, allocations: 2.335 MB / 0.6484 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006452/0.6541, allocations: 5.796 MB / 0.6541 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6652, allocations: 8.814 MB / 0.6627 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.6653, allocations: 36 kB / 0.6627 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01739/0.6827, allocations: 8.69 MB / 0.6712 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.683, allocations: 56 kB / 0.6713 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.6832, allocations: 120.9 kB / 0.6714 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.686, allocations: 1.053 MB / 0.6724 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004874/0.6909, allocations: 1.376 MB / 0.6738 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.6971, allocations: 5.41 MB / 0.679 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.7015, allocations: 331.5 kB / 0.6793 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/0.7027, allocations: 354.5 kB / 0.6797 GB, free: 10.99 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.004761/0.7075, allocations: 1.946 MB / 0.6816 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009445/0.7084, allocations: 311.9 kB / 0.6819 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00788/0.7163, allocations: 3.955 MB / 0.6857 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.7164, allocations: 23.94 kB / 0.6858 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/0.7164, allocations: 4 kB / 0.6858 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.7165, allocations: 11.97 kB / 0.6858 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.7351, allocations: 8.915 MB / 0.6945 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.7351, allocations: 0 / 0.6945 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.737, allocations: 347.5 kB / 0.6948 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/0.7395, allocations: 0.8716 MB / 0.6957 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004243/0.74, allocations: 36 kB / 0.6957 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/0.7448, allocations: 4.752 MB / 0.7003 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7449, allocations: 0 / 0.7003 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2222/0.9671, allocations: 6.89 MB / 0.7071 GB, free: 193.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007961/0.968, allocations: 356.1 kB / 0.7074 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/0.9686, allocations: 36.25 kB / 0.7075 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.9701, allocations: 120 kB / 0.7076 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.9706, allocations: 121.6 kB / 0.7077 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.9708, allocations: 58.34 kB / 0.7077 GB, free: 193.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003461/0.9742, allocations: 2.075 MB / 0.7098 GB, free: 193.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9742, allocations: 1.281 kB / 0.7098 GB, free: 193.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00486/0.9791, allocations: 0.9506 MB / 0.7107 GB, free: 193.3 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.0004838/0.9796, allocations: 175.3 kB / 0.7109 GB, free: 193.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01023/0.9898, allocations: 6.141 MB / 0.7169 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.9899, allocations: 0 / 0.7169 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004411/0.9943, allocations: 2.48 MB / 0.7193 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.9967, allocations: 337.9 kB / 0.7196 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.013, allocations: 11.43 MB / 0.7308 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/1.016, allocations: 3.02 MB / 0.7337 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.017, allocations: 286.2 kB / 0.734 GB, free: 182.2 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.017, allocations: 0 / 0.734 GB, free: 182.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1073/1.124, allocations: 124.2 MB / 0.8553 GB, free: 67.05 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/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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches