Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008613/0.0008614, allocations: 103.4 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4697/0.4697, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4277, allocations: 62.96 MB / 0.5184 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.6017, allocations: 89.58 MB / 0.6059 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.6021, allocations: 83.94 kB / 0.606 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.62, allocations: 5.457 MB / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6201, allocations: 0 / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.6201, allocations: 4 kB / 0.6113 GB, free: 10.15 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006194/0.6207, allocations: 407.5 kB / 0.6117 GB, free: 9.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.6208, allocations: 8.031 kB / 0.6117 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.6209, allocations: 4.938 kB / 0.6117 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.6212, allocations: 210.2 kB / 0.6119 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6212, allocations: 4.375 kB / 0.6119 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.6213, allocations: 384 / 0.6119 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.6215, allocations: 67.95 kB / 0.612 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6215, allocations: 192 / 0.612 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6215, allocations: 7.938 kB / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6215, allocations: 0 / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.6217, allocations: 23.98 kB / 0.612 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.6221, allocations: 280.9 kB / 0.6123 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.6224, allocations: 54.5 kB / 0.6123 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.6225, allocations: 12.86 kB / 0.6123 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.6225, allocations: 0 / 0.6123 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.6225, allocations: 30.66 kB / 0.6124 GB, free: 8.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.6226, allocations: 3.938 kB / 0.6124 GB, free: 8.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007659/0.6233, allocations: 165.3 kB / 0.6125 GB, free: 8.723 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.6234, allocations: 77.11 kB / 0.6126 GB, free: 8.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.6236, allocations: 148.8 kB / 0.6127 GB, free: 8.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6236, allocations: 25.7 kB / 0.6128 GB, free: 8.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.6237, allocations: 96.05 kB / 0.6129 GB, free: 8.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6238, allocations: 15.73 kB / 0.6129 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.6238, allocations: 7.938 kB / 0.6129 GB, free: 8.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6239, allocations: 320 kB / 0.6132 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.624, allocations: 19.98 kB / 0.6132 GB, free: 7.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.6241, allocations: 41.69 kB / 0.6132 GB, free: 7.938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.6243, allocations: 52.84 kB / 0.6133 GB, free: 7.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6243, allocations: 0 / 0.6133 GB, free: 7.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002546/0.6246, allocations: 93.59 kB / 0.6134 GB, free: 7.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6246, allocations: 4 kB / 0.6134 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6246, allocations: 0 / 0.6134 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6247, allocations: 0 / 0.6134 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.6248, allocations: 15.94 kB / 0.6134 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6248, allocations: 3.984 kB / 0.6134 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.6249, allocations: 15.94 kB / 0.6134 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.6249, allocations: 4 kB / 0.6134 GB, free: 7.742 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.625, allocations: 117.8 kB / 0.6135 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.625, allocations: 7.906 kB / 0.6135 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.6253, allocations: 94.5 kB / 0.6136 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6254, allocations: 64 / 0.6136 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6254, allocations: 4 kB / 0.6136 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6254, allocations: 11.97 kB / 0.6137 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.626, allocations: 354.4 kB / 0.614 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.626, allocations: 8 kB / 0.614 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.6261, allocations: 11.98 kB / 0.614 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6261, allocations: 0 / 0.614 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6261, allocations: 8 kB / 0.614 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6261, allocations: 0 / 0.614 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6261, allocations: 3.938 kB / 0.614 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.6264, allocations: 187.4 kB / 0.6142 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.6265, allocations: 85 kB / 0.6143 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.6266, allocations: 4 kB / 0.6143 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.6267, allocations: 11.98 kB / 0.6143 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.6267, allocations: 7.938 kB / 0.6143 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.6267, allocations: 0 / 0.6143 GB, free: 6.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.6269, allocations: 122.4 kB / 0.6144 GB, free: 6.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6269, allocations: 0 / 0.6144 GB, free: 6.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.6273, allocations: 55.8 kB / 0.6145 GB, free: 6.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.6288, allocations: 495.6 kB / 0.6149 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.629, allocations: 55.91 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6291, allocations: 8 kB / 0.615 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.6292, allocations: 23.98 kB / 0.615 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.6296, allocations: 18.48 kB / 0.615 GB, free: 6.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.6301, allocations: 180.2 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.6304, allocations: 0.6926 MB / 0.6159 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.118e-05/0.6305, allocations: 4 kB / 0.6159 GB, free: 5.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.6305, allocations: 23.42 kB / 0.6159 GB, free: 5.191 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6305, allocations: 0 / 0.6159 GB, free: 5.191 MB / 426.7 MB Notification: Performance of Templates: time 0.005059/0.6356, allocations: 1.697 MB / 0.6176 GB, free: 3.504 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches