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.00105/0.00105, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001154, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002592, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2384/0.3461, allocations: 37.16 MB / 0.5087 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.362, allocations: 7.71 MB / 0.5162 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006674/0.3687, allocations: 158.8 kB / 0.5164 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.3703, allocations: 395.6 kB / 0.5167 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.374, allocations: 1.15 MB / 0.5179 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3756, allocations: 472.9 kB / 0.5183 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006017/0.3817, allocations: 4.294 MB / 0.5225 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007227/0.3889, allocations: 4.174 MB / 0.5266 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.3915, allocations: 0.9149 MB / 0.5275 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.3944, allocations: 1.579 MB / 0.529 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.3953, allocations: 132.9 kB / 0.5291 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.3977, allocations: 0.9066 MB / 0.53 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.3997, allocations: 1.419 MB / 0.5314 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003572/0.4033, allocations: 1.773 MB / 0.5332 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.4089, allocations: 4.753 MB / 0.5378 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4089, allocations: 0 / 0.5378 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4089, allocations: 2.344 kB / 0.5378 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002843/0.4092, allocations: 0 / 0.5378 GB, free: 0.9023 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.008844/0.4181, allocations: 3.45 MB / 0.5412 GB, free: 14.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4182, allocations: 10.66 kB / 0.5412 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/0.4249, allocations: 1.843 MB / 0.543 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.4288, allocations: 1.746 MB / 0.5447 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.4291, allocations: 229.8 kB / 0.5449 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.4302, allocations: 302.8 kB / 0.5452 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.4538, allocations: 10.67 MB / 0.5556 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000199/0.454, allocations: 39.59 kB / 0.5556 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009353/0.455, allocations: 148.1 kB / 0.5558 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/0.4589, allocations: 2.039 MB / 0.5578 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.4803, allocations: 9.37 MB / 0.5669 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04865/0.529, allocations: 38.02 MB / 0.6041 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.5404, allocations: 4.223 MB / 0.6082 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.5435, allocations: 2.304 MB / 0.6104 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008939/0.5525, allocations: 6.123 MB / 0.6164 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.5526, allocations: 55.81 kB / 0.6165 GB, free: 2.031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.21e-06/0.5526, allocations: 0 / 0.6165 GB, free: 2.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06684/0.6194, allocations: 22.03 MB / 0.638 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.6196, allocations: 153.8 kB / 0.6381 GB, free: 11.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/0.6256, allocations: 3.37 MB / 0.6414 GB, free: 8.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.6261, allocations: 53.7 kB / 0.6415 GB, free: 8.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.6282, allocations: 2.799 MB / 0.6442 GB, free: 5.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.6294, allocations: 0.8012 MB / 0.645 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.6304, allocations: 0.4953 MB / 0.6455 GB, free: 4.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6305, allocations: 309.1 kB / 0.6458 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/0.6346, allocations: 2.338 MB / 0.648 GB, free: 1.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007025/0.6417, allocations: 5.8 MB / 0.6537 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6529, allocations: 8.829 MB / 0.6623 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.6531, allocations: 32 kB / 0.6624 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01734/0.6704, allocations: 8.696 MB / 0.6709 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.6706, allocations: 60.95 kB / 0.6709 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/0.6708, allocations: 124 kB / 0.671 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/0.6738, allocations: 1.037 MB / 0.672 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004921/0.6787, allocations: 1.376 MB / 0.6734 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/0.6849, allocations: 5.423 MB / 0.6787 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/0.6893, allocations: 326 kB / 0.679 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/0.6903, allocations: 360 kB / 0.6793 GB, free: 13.71 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.003952/0.6943, allocations: 1.947 MB / 0.6812 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007494/0.6951, allocations: 311.9 kB / 0.6815 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/0.703, allocations: 3.963 MB / 0.6854 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.703, allocations: 31.61 kB / 0.6854 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.7031, allocations: 8 kB / 0.6854 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.7031, allocations: 7.969 kB / 0.6855 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.7202, allocations: 8.9 MB / 0.6941 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.7203, allocations: 0 / 0.6941 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.7221, allocations: 359.4 kB / 0.6945 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.7247, allocations: 0.8657 MB / 0.6953 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.725, allocations: 38.72 kB / 0.6954 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.73, allocations: 4.757 MB / 0.7 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.73, allocations: 0 / 0.7 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.7412, allocations: 6.905 MB / 0.7068 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000843/0.7421, allocations: 368.9 kB / 0.7071 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/0.7427, allocations: 32 kB / 0.7071 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.7444, allocations: 127.8 kB / 0.7073 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.7448, allocations: 113.3 kB / 0.7074 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.745, allocations: 62.41 kB / 0.7074 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2268/0.9718, allocations: 2.072 MB / 0.7095 GB, free: 193.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.32e-07/0.9718, allocations: 0 / 0.7095 GB, free: 193.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005949/0.9778, allocations: 0.9494 MB / 0.7104 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.0007538/0.9786, allocations: 172.7 kB / 0.7105 GB, free: 193.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01135/0.9899, allocations: 6.142 MB / 0.7165 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.99, allocations: 1.375 kB / 0.7165 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004778/0.9948, allocations: 2.483 MB / 0.719 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.998, allocations: 346.7 kB / 0.7193 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.018, allocations: 11.57 MB / 0.7306 GB, free: 184.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/1.023, allocations: 3.023 MB / 0.7336 GB, free: 183.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.024, allocations: 289 kB / 0.7338 GB, free: 183.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.011e-06/1.024, allocations: 0 / 0.7338 GB, free: 183.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1203/1.144, allocations: 123.5 MB / 0.8544 GB, free: 68.91 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