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.0009607/0.0009608, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1074, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01073/0.1182, allocations: 10.5 MB / 492 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1244, allocations: 3.232 MB / 495.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008766/0.1253, allocations: 55.81 kB / 495.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.1292, allocations: 2.371 MB / 497.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.1316, allocations: 1.209 MB / 498.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.1331, allocations: 0.5185 MB / 499.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.1367, allocations: 2.928 MB / 0.4905 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.1399, allocations: 3.025 MB / 0.4935 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.1413, allocations: 1.254 MB / 0.4947 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.1432, allocations: 1.725 MB / 0.4964 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.1437, allocations: 296 kB / 0.4966 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.1452, allocations: 0.9987 MB / 0.4976 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.1464, allocations: 1.589 MB / 0.4992 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.1481, allocations: 1.953 MB / 0.5011 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2021/0.3501, allocations: 6.238 MB / 0.5072 GB, free: 20.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3502, allocations: 1.125 kB / 0.5072 GB, free: 20.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3502, allocations: 0.8438 kB / 0.5072 GB, free: 20.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001908/0.3504, allocations: 0 / 0.5072 GB, free: 20.8 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.00749/0.3579, allocations: 4.239 MB / 0.5113 GB, free: 19.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3579, allocations: 10.22 kB / 0.5113 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.3636, allocations: 1.807 MB / 0.5131 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.3675, allocations: 1.77 MB / 0.5148 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.3676, allocations: 227.1 kB / 0.515 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005515/0.3682, allocations: 300.8 kB / 0.5153 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.3877, allocations: 10.66 MB / 0.5257 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.3879, allocations: 41.08 kB / 0.5258 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005138/0.3884, allocations: 143 kB / 0.5259 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/0.3916, allocations: 2.045 MB / 0.5279 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.4072, allocations: 9.346 MB / 0.537 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/0.4453, allocations: 37.84 MB / 0.574 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009988/0.4553, allocations: 4.187 MB / 0.5781 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.4579, allocations: 2.303 MB / 0.5803 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008469/0.4664, allocations: 6.11 MB / 0.5863 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.4665, allocations: 59.53 kB / 0.5863 GB, free: 7.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 3.967e-06/0.4665, allocations: 0 / 0.5863 GB, free: 7.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05835/0.5249, allocations: 22.01 MB / 0.6078 GB, free: 1.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.525, allocations: 153.8 kB / 0.608 GB, free: 1.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.529, allocations: 3.374 MB / 0.6113 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.5292, allocations: 53.7 kB / 0.6113 GB, free: 13.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5308, allocations: 2.796 MB / 0.6141 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006466/0.5315, allocations: 0.7857 MB / 0.6148 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.533, allocations: 1.203 MB / 0.616 GB, free: 9.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.533, allocations: 305.1 kB / 0.6163 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.5363, allocations: 2.338 MB / 0.6186 GB, free: 6.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.5414, allocations: 5.793 MB / 0.6242 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009361/0.5508, allocations: 8.829 MB / 0.6329 GB, free: 4.926 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.964e-05/0.5509, allocations: 32 kB / 0.6329 GB, free: 4.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01387/0.5648, allocations: 8.693 MB / 0.6414 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.5649, allocations: 56 kB / 0.6414 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.565, allocations: 124 kB / 0.6415 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.5676, allocations: 1.041 MB / 0.6426 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/0.5716, allocations: 1.388 MB / 0.6439 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.5772, allocations: 5.807 MB / 0.6496 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.5808, allocations: 331.4 kB / 0.6499 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/0.5813, allocations: 363.9 kB / 0.6503 GB, free: 2.965 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.002595/0.5839, allocations: 1.934 MB / 0.6521 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.5844, allocations: 304.1 kB / 0.6524 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/0.5908, allocations: 3.963 MB / 0.6563 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.5909, allocations: 27.98 kB / 0.6563 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5909, allocations: 5.969 kB / 0.6563 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.5909, allocations: 11.95 kB / 0.6563 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.605, allocations: 8.882 MB / 0.665 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.605, allocations: 0.6562 kB / 0.665 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.6067, allocations: 355.5 kB / 0.6654 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.609, allocations: 0.8632 MB / 0.6662 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.6092, allocations: 39.98 kB / 0.6662 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004763/0.6139, allocations: 5.089 MB / 0.6712 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.614, allocations: 8 kB / 0.6712 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009474/0.6234, allocations: 6.894 MB / 0.678 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.6242, allocations: 364.8 kB / 0.6783 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.6246, allocations: 36.84 kB / 0.6783 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6259, allocations: 123.8 kB / 0.6785 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.6262, allocations: 113.1 kB / 0.6786 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.6264, allocations: 59.98 kB / 0.6786 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00269/0.6291, allocations: 2.073 MB / 0.6806 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6291, allocations: 0 / 0.6806 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003981/0.6331, allocations: 0.9557 MB / 0.6816 GB, free: 2.48 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.0004576/0.6335, allocations: 166.9 kB / 0.6817 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009504/0.643, allocations: 6.151 MB / 0.6877 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6431, allocations: 4 kB / 0.6877 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/0.6469, allocations: 2.481 MB / 0.6902 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.6492, allocations: 348.4 kB / 0.6905 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.6636, allocations: 9.016 MB / 0.6993 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003627/0.6673, allocations: 3.025 MB / 0.7023 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004118/0.6714, allocations: 1.853 MB / 0.7041 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/0.6722, allocations: 243.4 kB / 0.7043 GB, free: 11.02 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.6723, allocations: 0 / 0.7043 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Templates: time 0.2543/0.9266, allocations: 31.99 MB / 0.7355 GB, free: 188.2 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 -s gbode -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