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.001071/0.001071, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.00268, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3393, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01464/0.354, allocations: 10.5 MB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007965/0.362, allocations: 3.249 MB / 0.5451 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.3642, allocations: 57.31 kB / 0.5451 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.3692, allocations: 2.368 MB / 0.5475 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.3729, allocations: 1.219 MB / 0.5486 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3746, allocations: 0.5105 MB / 0.5491 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.3789, allocations: 2.928 MB / 0.552 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004141/0.3831, allocations: 3.028 MB / 0.555 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3853, allocations: 1.269 MB / 0.5562 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.3881, allocations: 1.717 MB / 0.5579 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009429/0.389, allocations: 296 kB / 0.5582 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3914, allocations: 0.9987 MB / 0.5591 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.3935, allocations: 1.582 MB / 0.5607 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003327/0.3969, allocations: 1.957 MB / 0.5626 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008651/0.4055, allocations: 6.234 MB / 0.5687 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4056, allocations: 4 kB / 0.5687 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4056, allocations: 0 / 0.5687 GB, free: 11.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.4058, allocations: 0 / 0.5687 GB, free: 11.67 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.01073/0.4166, allocations: 4.246 MB / 0.5728 GB, free: 7.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.4166, allocations: 8.031 kB / 0.5728 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/0.4228, allocations: 1.813 MB / 0.5746 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.427, allocations: 1.761 MB / 0.5763 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.4274, allocations: 233.7 kB / 0.5766 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4285, allocations: 303.8 kB / 0.5768 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.4519, allocations: 10.65 MB / 0.5872 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.4521, allocations: 43.59 kB / 0.5873 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.4533, allocations: 147.8 kB / 0.5874 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00386/0.4571, allocations: 2.044 MB / 0.5894 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.4785, allocations: 9.34 MB / 0.5985 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05132/0.5299, allocations: 37.84 MB / 0.6355 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.5413, allocations: 4.196 MB / 0.6396 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/0.5445, allocations: 2.307 MB / 0.6418 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.5551, allocations: 6.096 MB / 0.6478 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.5552, allocations: 59.8 kB / 0.6479 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 7.153e-06/0.5552, allocations: 3.984 kB / 0.6479 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06431/0.6195, allocations: 22.01 MB / 0.6694 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.6196, allocations: 153.8 kB / 0.6695 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005243/0.6249, allocations: 3.374 MB / 0.6728 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.6251, allocations: 53.7 kB / 0.6729 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.6273, allocations: 2.805 MB / 0.6756 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008333/0.6282, allocations: 0.7866 MB / 0.6764 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/0.6301, allocations: 1.194 MB / 0.6775 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.6302, allocations: 309 kB / 0.6778 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/0.6338, allocations: 2.342 MB / 0.6801 GB, free: 7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/0.6398, allocations: 5.792 MB / 0.6858 GB, free: 15.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009964/0.6497, allocations: 8.82 MB / 0.6944 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-05/0.6498, allocations: 36 kB / 0.6944 GB, free: 4.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01532/0.6651, allocations: 8.697 MB / 0.7029 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.6653, allocations: 58.66 kB / 0.703 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/0.6654, allocations: 120 kB / 0.7031 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.6683, allocations: 1.046 MB / 0.7041 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/0.6731, allocations: 1.372 MB / 0.7054 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.6792, allocations: 5.826 MB / 0.7111 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.6831, allocations: 327.7 kB / 0.7114 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/0.6839, allocations: 363.9 kB / 0.7118 GB, free: 2.828 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.003231/0.6871, allocations: 1.947 MB / 0.7137 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/0.6878, allocations: 308 kB / 0.714 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007389/0.6952, allocations: 3.951 MB / 0.7178 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.6953, allocations: 11.97 kB / 0.7179 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6953, allocations: 0 / 0.7179 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.696, allocations: 360.9 kB / 0.7182 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/0.6967, allocations: 35.98 kB / 0.7182 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.6983, allocations: 119.8 kB / 0.7183 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.6987, allocations: 129.1 kB / 0.7185 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0084/0.7071, allocations: 4.519 MB / 0.7229 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008109/0.7152, allocations: 6.232 MB / 0.729 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2722/0.9874, allocations: 1.673 MB / 0.7306 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003648/0.9911, allocations: 2.074 MB / 0.7326 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of Backend: time 5.71e-07/0.9911, allocations: 0 / 0.7326 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009197/1, allocations: 4.873 MB / 0.7374 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01245/1.013, allocations: 8.476 MB / 0.7457 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06793/1.081, allocations: 45.74 MB / 0.7903 GB, free: 133.3 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/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