Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001465/0.001465, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007795/0.0007797, allocations: 93 kB / 271.3 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.3185/0.3185, allocations: 43.56 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4045, allocations: 106.5 MB / 0.584 GB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4047, allocations: 75.97 kB / 0.5841 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1736/0.5783, allocations: 70.69 MB / 0.6531 GB, free: 4.152 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.219e-06/0.5783, allocations: 0 / 0.6531 GB, free: 4.152 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002266/0.5786, allocations: 75.94 kB / 0.6532 GB, free: 4.078 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.01075/0.5894, allocations: 3.57 MB / 0.6567 GB, free: 448 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5894, allocations: 8.031 kB / 0.6567 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008529/0.598, allocations: 2.012 MB / 0.6586 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.6033, allocations: 2.108 MB / 0.6607 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.6037, allocations: 308.3 kB / 0.661 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/0.6056, allocations: 404.2 kB / 0.6614 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.266/0.8717, allocations: 11.02 MB / 0.6721 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/0.872, allocations: 55.97 kB / 0.6722 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.8733, allocations: 196.8 kB / 0.6724 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002011/0.8753, allocations: 1.072 MB / 0.6734 GB, free: 94.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.8955, allocations: 9.376 MB / 0.6826 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05378/0.9494, allocations: 45.84 MB / 0.7274 GB, free: 67.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.964, allocations: 4.163 MB / 0.7314 GB, free: 65.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/0.9689, allocations: 2.312 MB / 0.7337 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.982, allocations: 5.723 MB / 0.7393 GB, free: 61.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.9821, allocations: 52.81 kB / 0.7393 GB, free: 61.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.963e-06/0.9821, allocations: 1.656 kB / 0.7393 GB, free: 61.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.1121/1.094, allocations: 26.98 MB / 0.7657 GB, free: 52.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/1.094, allocations: 159.4 kB / 0.7658 GB, free: 52.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006725/1.101, allocations: 3.36 MB / 0.7691 GB, free: 51.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006082/1.102, allocations: 58.83 kB / 0.7692 GB, free: 51.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.104, allocations: 2.8 MB / 0.7719 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.105, allocations: 0.846 MB / 0.7727 GB, free: 48.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.105, allocations: 118.2 kB / 0.7728 GB, free: 48.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003543/1.106, allocations: 0.5582 MB / 0.7734 GB, free: 47.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005455/1.111, allocations: 2.567 MB / 0.7759 GB, free: 47.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007699/1.119, allocations: 6.006 MB / 0.7817 GB, free: 41.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/1.132, allocations: 9.311 MB / 0.7908 GB, free: 34.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/1.132, allocations: 34.5 kB / 0.7909 GB, free: 34.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0186/1.151, allocations: 9.189 MB / 0.7998 GB, free: 30.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.151, allocations: 59.25 kB / 0.7999 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/1.151, allocations: 118.5 kB / 0.8 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/1.154, allocations: 1.041 MB / 0.801 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/1.159, allocations: 1.417 MB / 0.8024 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/1.164, allocations: 5.392 MB / 0.8077 GB, free: 23.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/1.169, allocations: 325.9 kB / 0.808 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.171, allocations: 362.3 kB / 0.8083 GB, free: 22.84 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.00473/1.175, allocations: 1.966 MB / 0.8103 GB, free: 21.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009153/1.176, allocations: 317.8 kB / 0.8106 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007832/1.184, allocations: 4.558 MB / 0.815 GB, free: 16.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/1.184, allocations: 27.94 kB / 0.815 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.184, allocations: 4 kB / 0.815 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/1.184, allocations: 15.02 kB / 0.8151 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/1.202, allocations: 9.961 MB / 0.8248 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.202, allocations: 3.25 kB / 0.8248 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.204, allocations: 381.6 kB / 0.8251 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/1.206, allocations: 0.8789 MB / 0.826 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000283/1.206, allocations: 38.34 kB / 0.826 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/1.21, allocations: 4.734 MB / 0.8307 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.21, allocations: 0 / 0.8307 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.226, allocations: 8.17 MB / 0.8386 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.228, allocations: 0.7506 MB / 0.8394 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/1.229, allocations: 35.98 kB / 0.8394 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.23, allocations: 123.8 kB / 0.8395 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/1.231, allocations: 133.7 kB / 0.8397 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.231, allocations: 58.75 kB / 0.8397 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003235/1.234, allocations: 2.069 MB / 0.8417 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.234, allocations: 0 / 0.8417 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004757/1.239, allocations: 1.017 MB / 0.8427 GB, free: 8.504 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.0004865/1.239, allocations: 182.1 kB / 0.8429 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.25, allocations: 6.669 MB / 0.8494 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.25, allocations: 0 / 0.8494 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/1.255, allocations: 2.769 MB / 0.8521 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.257, allocations: 338.3 kB / 0.8524 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.276, allocations: 11.17 MB / 0.8633 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.279, allocations: 3.053 MB / 0.8663 GB, free: 244 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.2575/1.537, allocations: 1.945 MB / 0.8682 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.538, allocations: 245 kB / 0.8685 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/1.538, allocations: 3.188 kB / 0.8685 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.07237/1.61, allocations: 36.82 MB / 0.9044 GB, free: 114.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches