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.001287/0.001287, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 76.12 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1281, allocations: 62.46 MB / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01231/0.1405, allocations: 10.49 MB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.1489, allocations: 3.244 MB / 493.8 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.1521, allocations: 51.88 kB / 493.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005716/0.1578, allocations: 2.359 MB / 496.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.1619, allocations: 1.217 MB / 497.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1635, allocations: 0.5224 MB / 497.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003762/0.1673, allocations: 2.916 MB / 0.4891 GB, free: 364 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.1703, allocations: 3.021 MB / 0.492 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.1719, allocations: 1.257 MB / 0.4933 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.1739, allocations: 1.721 MB / 0.4949 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.1745, allocations: 296 kB / 0.4952 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.1762, allocations: 1.003 MB / 0.4962 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.1776, allocations: 1.593 MB / 0.4978 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.1793, allocations: 1.957 MB / 0.4997 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2357/0.415, allocations: 6.002 MB / 0.5055 GB, free: 20.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.4151, allocations: 0 / 0.5055 GB, free: 20.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4151, allocations: 0.6562 kB / 0.5055 GB, free: 20.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002354/0.4154, allocations: 0 / 0.5055 GB, free: 20.86 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.0171/0.4325, allocations: 4.236 MB / 0.5097 GB, free: 19.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4326, allocations: 9.844 kB / 0.5097 GB, free: 19.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00771/0.4403, allocations: 1.807 MB / 0.5114 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.4455, allocations: 1.746 MB / 0.5132 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.4458, allocations: 224 kB / 0.5134 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.4476, allocations: 307 kB / 0.5137 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.4707, allocations: 10.65 MB / 0.5241 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.471, allocations: 42.44 kB / 0.5241 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/0.4722, allocations: 144.3 kB / 0.5242 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004137/0.4763, allocations: 2.039 MB / 0.5262 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.4951, allocations: 9.348 MB / 0.5354 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04403/0.5392, allocations: 38.01 MB / 0.5725 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.5501, allocations: 4.193 MB / 0.5766 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.5531, allocations: 2.303 MB / 0.5788 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.5632, allocations: 6.108 MB / 0.5848 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/0.5633, allocations: 55.34 kB / 0.5848 GB, free: 7.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 5.821e-06/0.5633, allocations: 0 / 0.5848 GB, free: 7.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06798/0.6313, allocations: 22.02 MB / 0.6064 GB, free: 1.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.6315, allocations: 145.8 kB / 0.6065 GB, free: 1.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005223/0.6367, allocations: 3.367 MB / 0.6098 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.6371, allocations: 57.7 kB / 0.6098 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/0.6392, allocations: 2.792 MB / 0.6126 GB, free: 11.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.6402, allocations: 0.7996 MB / 0.6133 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/0.6421, allocations: 1.194 MB / 0.6145 GB, free: 9.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6422, allocations: 307.5 kB / 0.6148 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.6457, allocations: 2.342 MB / 0.6171 GB, free: 6.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005698/0.6515, allocations: 5.785 MB / 0.6227 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009923/0.6614, allocations: 8.823 MB / 0.6314 GB, free: 5.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.47e-05/0.6615, allocations: 37.64 kB / 0.6314 GB, free: 5.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01522/0.6767, allocations: 8.704 MB / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/0.6769, allocations: 59.66 kB / 0.6399 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.677, allocations: 124 kB / 0.6401 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/0.6798, allocations: 1.041 MB / 0.6411 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/0.6843, allocations: 1.38 MB / 0.6424 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.6903, allocations: 5.821 MB / 0.6481 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/0.6945, allocations: 331.5 kB / 0.6484 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/0.6956, allocations: 365 kB / 0.6488 GB, free: 3.266 MB / 494.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.003727/0.6994, allocations: 1.942 MB / 0.6507 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.7, allocations: 304.1 kB / 0.651 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/0.7074, allocations: 3.959 MB / 0.6548 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.7075, allocations: 24 kB / 0.6549 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.7075, allocations: 9.844 kB / 0.6549 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.7075, allocations: 7.969 kB / 0.6549 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.7241, allocations: 8.899 MB / 0.6636 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.7241, allocations: 4 kB / 0.6636 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/0.7261, allocations: 351.5 kB / 0.6639 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.7287, allocations: 0.8695 MB / 0.6648 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/0.729, allocations: 43.19 kB / 0.6648 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.7343, allocations: 5.09 MB / 0.6698 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.7343, allocations: 3.938 kB / 0.6698 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.7448, allocations: 6.887 MB / 0.6765 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/0.7455, allocations: 356.9 kB / 0.6768 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.7461, allocations: 39.98 kB / 0.6769 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.7477, allocations: 119.8 kB / 0.677 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/0.748, allocations: 121.1 kB / 0.6771 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7482, allocations: 61.19 kB / 0.6772 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003225/0.7514, allocations: 2.069 MB / 0.6792 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7514, allocations: 0 / 0.6792 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004081/0.7555, allocations: 0.9531 MB / 0.6801 GB, free: 2.773 MB / 0.5137 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.000424/0.7559, allocations: 181.7 kB / 0.6803 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01407/0.77, allocations: 7.855 MB / 0.688 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7701, allocations: 0 / 0.688 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.7746, allocations: 2.482 MB / 0.6904 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.7771, allocations: 360.8 kB / 0.6907 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.797, allocations: 9.121 MB / 0.6996 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005/0.802, allocations: 3.018 MB / 0.7026 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004935/0.807, allocations: 1.865 MB / 0.7044 GB, free: 9.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009252/0.8079, allocations: 239.4 kB / 0.7046 GB, free: 9.488 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.8079, allocations: 0 / 0.7046 GB, free: 9.488 MB / 0.545 GB Notification: Performance of Templates: time 0.2855/1.093, allocations: 36.9 MB / 0.7407 GB, free: 185.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