Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.0022, allocations: 181.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.61/2.61, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009653/0.0009655, allocations: 89.03 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5964/0.5964, allocations: 43.56 MB / 363.8 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.000603, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1747, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5847/0.7595, allocations: 106.5 MB / 0.584 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.7599, allocations: 75.97 kB / 0.584 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/1.027, allocations: 70.7 MB / 0.6531 GB, free: 4.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.597e-06/1.027, allocations: 3.938 kB / 0.6531 GB, free: 4.555 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002613/1.027, allocations: 68 kB / 0.6532 GB, free: 4.488 MB / 474.7 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.01814/1.045, allocations: 3.574 MB / 0.6566 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.045, allocations: 8.031 kB / 0.6567 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/1.059, allocations: 2.012 MB / 0.6586 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007971/1.067, allocations: 2.108 MB / 0.6607 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000592/1.067, allocations: 304.4 kB / 0.661 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/1.07, allocations: 408.1 kB / 0.6614 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4386/1.509, allocations: 11.02 MB / 0.6721 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005168/1.51, allocations: 56.94 kB / 0.6722 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/1.513, allocations: 195.2 kB / 0.6724 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/1.516, allocations: 1.068 MB / 0.6734 GB, free: 94.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03868/1.555, allocations: 9.371 MB / 0.6826 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08566/1.641, allocations: 45.84 MB / 0.7273 GB, free: 67.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.661, allocations: 4.161 MB / 0.7314 GB, free: 65.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006494/1.667, allocations: 2.313 MB / 0.7336 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/1.686, allocations: 5.726 MB / 0.7392 GB, free: 61.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.605e-05/1.686, allocations: 52 kB / 0.7393 GB, free: 61.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 1.041e-05/1.686, allocations: 2.375 kB / 0.7393 GB, free: 61.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.1496/1.836, allocations: 26.98 MB / 0.7656 GB, free: 53.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.836, allocations: 158.1 kB / 0.7658 GB, free: 52.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.848, allocations: 3.367 MB / 0.7691 GB, free: 51.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.85, allocations: 61.08 kB / 0.7691 GB, free: 51.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003842/1.853, allocations: 2.804 MB / 0.7719 GB, free: 49.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.855, allocations: 0.8389 MB / 0.7727 GB, free: 48.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/1.857, allocations: 118 kB / 0.7728 GB, free: 48.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001087/1.858, allocations: 0.5577 MB / 0.7733 GB, free: 48.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008264/1.866, allocations: 2.565 MB / 0.7759 GB, free: 47.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.878, allocations: 6.007 MB / 0.7817 GB, free: 41.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01903/1.897, allocations: 9.313 MB / 0.7908 GB, free: 34.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002995/1.897, allocations: 34.5 kB / 0.7908 GB, free: 34.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03189/1.929, allocations: 9.188 MB / 0.7998 GB, free: 30.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000295/1.93, allocations: 59.34 kB / 0.7999 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004011/1.93, allocations: 117.6 kB / 0.8 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/1.936, allocations: 1.046 MB / 0.801 GB, free: 30.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009934/1.946, allocations: 1.416 MB / 0.8024 GB, free: 29.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/1.955, allocations: 5.389 MB / 0.8077 GB, free: 23.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.965, allocations: 331.8 kB / 0.808 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002278/1.968, allocations: 362.7 kB / 0.8083 GB, free: 23.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (745): * Single equations (assignments): 738 * 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.009867/1.978, allocations: 1.957 MB / 0.8102 GB, free: 21.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/1.979, allocations: 319.9 kB / 0.8105 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/1.996, allocations: 4.549 MB / 0.815 GB, free: 17.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.881e-05/1.996, allocations: 27.05 kB / 0.815 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.013e-05/1.996, allocations: 4 kB / 0.815 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/1.996, allocations: 14.55 kB / 0.815 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03687/2.033, allocations: 9.965 MB / 0.8247 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/2.033, allocations: 4 kB / 0.8248 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004122/2.037, allocations: 387.3 kB / 0.8251 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/2.042, allocations: 0.8786 MB / 0.826 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008031/2.043, allocations: 33.97 kB / 0.826 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/2.051, allocations: 4.737 MB / 0.8306 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.051, allocations: 0 / 0.8306 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02799/2.079, allocations: 7.979 MB / 0.8384 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004398/2.083, allocations: 0.7542 MB / 0.8392 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/2.085, allocations: 34.91 kB / 0.8392 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004496/2.09, allocations: 122.5 kB / 0.8393 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/2.091, allocations: 132.1 kB / 0.8394 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007318/2.092, allocations: 56 kB / 0.8395 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009047/2.101, allocations: 2.076 MB / 0.8415 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.673e-06/2.101, allocations: 0 / 0.8415 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0123/2.113, allocations: 1.013 MB / 0.8425 GB, free: 8.93 MB / 0.4948 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 (190): * Single equations (assignments): 183 * 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.001452/2.115, allocations: 186.3 kB / 0.8427 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02404/2.139, allocations: 6.669 MB / 0.8492 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/2.139, allocations: 4 kB / 0.8492 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/2.15, allocations: 2.769 MB / 0.8519 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006771/2.156, allocations: 340.9 kB / 0.8522 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/2.198, allocations: 11.62 MB / 0.8636 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/2.208, allocations: 3.056 MB / 0.8666 GB, free: 204 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3539/2.562, allocations: 285.4 kB / 0.8668 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/2.562, allocations: 0 / 0.8668 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.291/2.853, allocations: 126.7 MB / 0.9905 GB, free: 60.17 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches