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.0009371/0.0009369, allocations: 92.11 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 204.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03228/0.1786, allocations: 32.91 MB / 0.5022 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3105/0.4891, allocations: 7.809 MB / 0.5099 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009105/0.4983, allocations: 158.3 kB / 0.51 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007051/0.5054, allocations: 1.594 MB / 0.5116 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0185/0.5239, allocations: 4.564 MB / 0.516 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.5277, allocations: 360.4 kB / 0.5164 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00557/0.5333, allocations: 1.732 MB / 0.5181 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006689/0.54, allocations: 3.759 MB / 0.5217 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.5421, allocations: 0.8279 MB / 0.5225 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.5441, allocations: 1.103 MB / 0.5236 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.5446, allocations: 130.8 kB / 0.5237 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.5462, allocations: 0.738 MB / 0.5245 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.5476, allocations: 1.303 MB / 0.5257 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.5486, allocations: 0.7565 MB / 0.5265 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005989/0.5546, allocations: 4.785 MB / 0.5311 GB, free: 6.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5546, allocations: 0 / 0.5311 GB, free: 6.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5547, allocations: 0 / 0.5311 GB, free: 6.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002795/0.5549, allocations: 0 / 0.5311 GB, free: 6.098 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.01005/0.565, allocations: 3.645 MB / 0.5347 GB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5651, allocations: 9.625 kB / 0.5347 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/0.573, allocations: 2.183 MB / 0.5368 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005109/0.5781, allocations: 1.685 MB / 0.5385 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.5784, allocations: 223.5 kB / 0.5387 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/0.5802, allocations: 303.2 kB / 0.539 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/0.6081, allocations: 10.79 MB / 0.5495 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.6084, allocations: 35.66 kB / 0.5496 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006686/0.609, allocations: 141.4 kB / 0.5497 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003867/0.6129, allocations: 2.046 MB / 0.5517 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/0.637, allocations: 9.484 MB / 0.561 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05707/0.6941, allocations: 38.5 MB / 0.5986 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/0.7131, allocations: 6.842 MB / 0.6052 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.7253, allocations: 6.477 MB / 0.6116 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.7254, allocations: 47.88 kB / 0.6116 GB, free: 13.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.039e-06/0.7254, allocations: 0 / 0.6116 GB, free: 13.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.08478/0.8102, allocations: 28.25 MB / 0.6392 GB, free: 1.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.8104, allocations: 150.1 kB / 0.6393 GB, free: 1.211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/0.815, allocations: 3.355 MB / 0.6426 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/0.8154, allocations: 60.67 kB / 0.6427 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.8174, allocations: 2.807 MB / 0.6454 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.8184, allocations: 0.7922 MB / 0.6462 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.8187, allocations: 120 kB / 0.6463 GB, free: 10.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004478/0.8192, allocations: 0.5541 MB / 0.6468 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/0.8229, allocations: 2.424 MB / 0.6492 GB, free: 7.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/0.83, allocations: 5.855 MB / 0.6549 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/0.8375, allocations: 3.685 MB / 0.6585 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.37e-05/0.8377, allocations: 32 kB / 0.6586 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01815/0.8558, allocations: 8.859 MB / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.856, allocations: 62.45 kB / 0.6673 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.8562, allocations: 120 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.8592, allocations: 1.057 MB / 0.6684 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/0.8646, allocations: 1.411 MB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.8707, allocations: 5.502 MB / 0.6752 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/0.8757, allocations: 347.9 kB / 0.6755 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/0.8771, allocations: 360 kB / 0.6758 GB, free: 9.824 MB / 0.5137 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005058/0.8821, allocations: 1.947 MB / 0.6777 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008684/0.883, allocations: 308 kB / 0.678 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007724/0.8908, allocations: 4.185 MB / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/0.8908, allocations: 26.58 kB / 0.6821 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.8908, allocations: 4 kB / 0.6821 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.8909, allocations: 13.7 kB / 0.6822 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.908, allocations: 9.297 MB / 0.6912 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.908, allocations: 4 kB / 0.6912 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.9099, allocations: 375.5 kB / 0.6916 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.9125, allocations: 0.8677 MB / 0.6925 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.9127, allocations: 32 kB / 0.6925 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.9178, allocations: 4.854 MB / 0.6972 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9179, allocations: 4.031 kB / 0.6972 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.9295, allocations: 7.313 MB / 0.7044 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.9306, allocations: 364.9 kB / 0.7047 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/0.9312, allocations: 38.56 kB / 0.7048 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.9328, allocations: 139.8 kB / 0.7049 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.9331, allocations: 121.1 kB / 0.705 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.9333, allocations: 56 kB / 0.7051 GB, free: 11.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003426/0.9367, allocations: 2.061 MB / 0.7071 GB, free: 9.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.92e-07/0.9367, allocations: 0 / 0.7071 GB, free: 9.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004822/0.9415, allocations: 0.9805 MB / 0.708 GB, free: 8.438 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004921/0.942, allocations: 181.1 kB / 0.7082 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.953, allocations: 6.308 MB / 0.7144 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.953, allocations: 4 kB / 0.7144 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2158/1.169, allocations: 2.563 MB / 0.7169 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.171, allocations: 301.2 kB / 0.7172 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.188, allocations: 10.89 MB / 0.7278 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003917/1.192, allocations: 3.1 MB / 0.7308 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005061/1.197, allocations: 1.87 MB / 0.7326 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.198, allocations: 240.5 kB / 0.7329 GB, free: 195.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/1.198, allocations: 4 kB / 0.7329 GB, free: 195.8 MB / 0.545 GB Notification: Performance of Templates: time 0.06265/1.261, allocations: 35 MB / 0.7671 GB, free: 171.6 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches