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.001389/0.001389, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 79.86 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4237, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0129/0.4366, allocations: 10.49 MB / 0.5412 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.4476, allocations: 3.249 MB / 0.5444 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.4514, allocations: 53.06 kB / 0.5445 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006036/0.4575, allocations: 2.373 MB / 0.5468 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.4624, allocations: 1.257 MB / 0.548 GB, free: 276 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4643, allocations: 0.5146 MB / 0.5485 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.4702, allocations: 2.935 MB / 0.5514 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.4757, allocations: 3.028 MB / 0.5543 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.4784, allocations: 1.269 MB / 0.5556 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.4811, allocations: 1.725 MB / 0.5573 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009015/0.482, allocations: 292 kB / 0.5575 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.4844, allocations: 0.9987 MB / 0.5585 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.4865, allocations: 1.586 MB / 0.5601 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.4894, allocations: 1.957 MB / 0.562 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007481/0.4969, allocations: 6.242 MB / 0.5681 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4969, allocations: 0 / 0.5681 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4969, allocations: 0 / 0.5681 GB, free: 11.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000225/0.4971, allocations: 0 / 0.5681 GB, free: 11.63 MB / 430.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.009545/0.5067, allocations: 4.238 MB / 0.5722 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5067, allocations: 12.03 kB / 0.5722 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005861/0.5126, allocations: 1.809 MB / 0.574 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.5169, allocations: 1.765 MB / 0.5757 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.517, allocations: 229.7 kB / 0.5759 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.5177, allocations: 299.8 kB / 0.5762 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.5399, allocations: 10.66 MB / 0.5866 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.5401, allocations: 35.66 kB / 0.5867 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/0.5406, allocations: 143.9 kB / 0.5868 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004052/0.5446, allocations: 2.036 MB / 0.5888 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.5659, allocations: 9.356 MB / 0.5979 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.6133, allocations: 37.84 MB / 0.6349 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6241, allocations: 4.196 MB / 0.639 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.6273, allocations: 2.309 MB / 0.6412 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009154/0.6365, allocations: 6.104 MB / 0.6472 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.6366, allocations: 59.8 kB / 0.6472 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.019e-06/0.6366, allocations: 0 / 0.6472 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06321/0.6998, allocations: 22.01 MB / 0.6687 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.7, allocations: 149.8 kB / 0.6689 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/0.7046, allocations: 3.37 MB / 0.6722 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/0.705, allocations: 57.7 kB / 0.6722 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.7069, allocations: 2.794 MB / 0.675 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/0.7077, allocations: 0.7943 MB / 0.6757 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.7092, allocations: 1.194 MB / 0.6769 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.7093, allocations: 309.1 kB / 0.6772 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/0.7126, allocations: 2.338 MB / 0.6795 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/0.718, allocations: 5.796 MB / 0.6851 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.7282, allocations: 8.819 MB / 0.6938 GB, free: 4.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/0.7284, allocations: 36 kB / 0.6938 GB, free: 4.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01498/0.7434, allocations: 8.694 MB / 0.7023 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/0.7435, allocations: 56 kB / 0.7023 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.7436, allocations: 124 kB / 0.7025 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.7466, allocations: 1.047 MB / 0.7035 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/0.7513, allocations: 1.372 MB / 0.7048 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.7577, allocations: 5.822 MB / 0.7105 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/0.7638, allocations: 327.5 kB / 0.7108 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/0.7656, allocations: 356 kB / 0.7112 GB, free: 2.809 MB / 0.5606 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.004498/0.7702, allocations: 1.953 MB / 0.7131 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/0.7709, allocations: 315.9 kB / 0.7134 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00721/0.7782, allocations: 3.947 MB / 0.7172 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/0.7782, allocations: 24 kB / 0.7172 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.7783, allocations: 7.984 kB / 0.7172 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.7783, allocations: 7.969 kB / 0.7173 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.7924, allocations: 8.807 MB / 0.7259 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.7924, allocations: 4 kB / 0.7259 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.7941, allocations: 351.5 kB / 0.7262 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/0.7965, allocations: 0.8734 MB / 0.727 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.7967, allocations: 32 kB / 0.7271 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3277/1.124, allocations: 5.121 MB / 0.7321 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.124, allocations: 2.25 kB / 0.7321 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.135, allocations: 6.906 MB / 0.7388 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008145/1.136, allocations: 362.7 kB / 0.7392 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004352/1.137, allocations: 31.62 kB / 0.7392 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.138, allocations: 121 kB / 0.7393 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/1.139, allocations: 119.5 kB / 0.7394 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.139, allocations: 51.81 kB / 0.7395 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003009/1.142, allocations: 2.08 MB / 0.7415 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/1.142, allocations: 0 / 0.7415 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004088/1.146, allocations: 0.9542 MB / 0.7424 GB, free: 173 MB / 0.5762 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.0004252/1.146, allocations: 173.9 kB / 0.7426 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008175/1.155, allocations: 6.156 MB / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.155, allocations: 7.375 kB / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.158, allocations: 2.481 MB / 0.751 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.16, allocations: 349.9 kB / 0.7514 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.172, allocations: 9.038 MB / 0.7602 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.175, allocations: 3.022 MB / 0.7632 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003654/1.179, allocations: 1.857 MB / 0.765 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/1.179, allocations: 243.4 kB / 0.7652 GB, free: 158 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/1.179, allocations: 0 / 0.7652 GB, free: 158 MB / 0.5762 GB Notification: Performance of Templates: time 0.05155/1.231, allocations: 34.01 MB / 0.7984 GB, free: 124.2 MB / 0.5762 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