Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008201/0.0008201, allocations: 107.7 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4919/0.4919, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 11.98 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3766, allocations: 62.95 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4985, allocations: 89.68 MB / 0.606 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4988, allocations: 79.94 kB / 0.6061 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.5129, allocations: 5.485 MB / 0.6114 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.513, allocations: 0 / 0.6114 GB, free: 10.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.513, allocations: 4 kB / 0.6114 GB, free: 10.02 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.0005324/0.5136, allocations: 403.5 kB / 0.6118 GB, free: 9.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5136, allocations: 12.03 kB / 0.6118 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.5137, allocations: 8.938 kB / 0.6118 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.514, allocations: 204 kB / 0.612 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.514, allocations: 8.359 kB / 0.612 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.514, allocations: 384 / 0.612 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.5142, allocations: 63.95 kB / 0.6121 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5142, allocations: 192 / 0.6121 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5142, allocations: 7.938 kB / 0.6121 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5142, allocations: 8 kB / 0.6121 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.5143, allocations: 27.92 kB / 0.6121 GB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.5148, allocations: 277 kB / 0.6124 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.515, allocations: 54.48 kB / 0.6125 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.515, allocations: 16.86 kB / 0.6125 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.515, allocations: 4 kB / 0.6125 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5151, allocations: 30.56 kB / 0.6125 GB, free: 8.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5151, allocations: 3.938 kB / 0.6125 GB, free: 8.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000557/0.5156, allocations: 165.4 kB / 0.6127 GB, free: 8.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.5157, allocations: 77.11 kB / 0.6127 GB, free: 8.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5159, allocations: 149.8 kB / 0.6129 GB, free: 8.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5159, allocations: 29.7 kB / 0.6129 GB, free: 8.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.516, allocations: 100 kB / 0.613 GB, free: 8.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.516, allocations: 15.75 kB / 0.613 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.516, allocations: 0 / 0.613 GB, free: 8.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5161, allocations: 328 kB / 0.6133 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.5162, allocations: 23.98 kB / 0.6134 GB, free: 7.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.5164, allocations: 41.69 kB / 0.6134 GB, free: 7.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5165, allocations: 60.83 kB / 0.6135 GB, free: 7.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5166, allocations: 0 / 0.6135 GB, free: 7.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.5168, allocations: 93.61 kB / 0.6135 GB, free: 7.609 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5168, allocations: 7.938 kB / 0.6136 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5168, allocations: 0 / 0.6136 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5168, allocations: 0 / 0.6136 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.5169, allocations: 15.98 kB / 0.6136 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5169, allocations: 0 / 0.6136 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.517, allocations: 19.92 kB / 0.6136 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.517, allocations: 3.938 kB / 0.6136 GB, free: 7.562 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 9.929e-05/0.5171, allocations: 117.8 kB / 0.6137 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.5171, allocations: 7.906 kB / 0.6137 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.5174, allocations: 110.2 kB / 0.6138 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5174, allocations: 7.938 kB / 0.6138 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5174, allocations: 0 / 0.6138 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5174, allocations: 0 / 0.6138 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.5179, allocations: 366.5 kB / 0.6142 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5179, allocations: 4 kB / 0.6142 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.518, allocations: 12 kB / 0.6142 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.518, allocations: 0 / 0.6142 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.518, allocations: 0 / 0.6142 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.518, allocations: 0 / 0.6142 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.518, allocations: 3.938 kB / 0.6142 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.5182, allocations: 199.4 kB / 0.6144 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.5183, allocations: 89 kB / 0.6145 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5183, allocations: 4 kB / 0.6145 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.5184, allocations: 7.984 kB / 0.6145 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.5185, allocations: 8.219 kB / 0.6145 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.5185, allocations: 0 / 0.6145 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.5186, allocations: 122.5 kB / 0.6146 GB, free: 6.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5186, allocations: 0 / 0.6146 GB, free: 6.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003249/0.5189, allocations: 47.88 kB / 0.6147 GB, free: 6.375 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.00115/0.5201, allocations: 0.4932 MB / 0.6151 GB, free: 6.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.5203, allocations: 63.91 kB / 0.6152 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5203, allocations: 8 kB / 0.6152 GB, free: 5.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.5204, allocations: 31.97 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.5207, allocations: 11.98 kB / 0.6152 GB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.5211, allocations: 188.2 kB / 0.6154 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.5214, allocations: 0.6965 MB / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.5214, allocations: 11.98 kB / 0.6161 GB, free: 4.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5215, allocations: 19.42 kB / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5215, allocations: 0 / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of Templates: time 0.004239/0.5257, allocations: 1.715 MB / 0.6178 GB, free: 3.266 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches