Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009243/0.0009243, allocations: 202.4 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.6 MB / 243.1 MB, free: 14.3 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: 102.8 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002113/0.0002113, allocations: 12 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09149, allocations: 62.97 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001597/0.09311, allocations: 1.443 MB / 0.5167 GB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.09452, allocations: 0.948 MB / 0.5177 GB, free: 360 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.09459, allocations: 4 kB / 0.5177 GB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.09487, allocations: 83.77 kB / 0.5178 GB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.09517, allocations: 95.7 kB / 0.5178 GB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.09545, allocations: 91.77 kB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1879/0.2833, allocations: 102.4 kB / 0.518 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2835, allocations: 18.67 kB / 0.518 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2836, allocations: 48.92 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2837, allocations: 55.97 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2838, allocations: 1.906 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2839, allocations: 50.91 kB / 0.5182 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.284, allocations: 25.41 kB / 0.5182 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.284, allocations: 43.61 kB / 0.5183 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2842, allocations: 105.1 kB / 0.5184 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2842, allocations: 0.8125 kB / 0.5184 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2842, allocations: 0 / 0.5184 GB, free: 9.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.2842, allocations: 0.625 kB / 0.5184 GB, free: 9.848 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003304/0.2846, allocations: 421.7 kB / 0.5188 GB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.503e-05/0.2846, allocations: 11.25 kB / 0.5188 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2846, allocations: 14.14 kB / 0.5188 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2848, allocations: 212.3 kB / 0.519 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2848, allocations: 6.859 kB / 0.519 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2848, allocations: 3.938 kB / 0.519 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.285, allocations: 60.56 kB / 0.5191 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.285, allocations: 8.703 kB / 0.5191 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.285, allocations: 2.219 kB / 0.5191 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.285, allocations: 1.188 kB / 0.5191 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.2851, allocations: 22.78 kB / 0.5191 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.2854, allocations: 300.3 kB / 0.5194 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2856, allocations: 62.44 kB / 0.5194 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.2857, allocations: 25.41 kB / 0.5195 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2857, allocations: 1.672 kB / 0.5195 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.2858, allocations: 68.47 kB / 0.5195 GB, free: 8.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.2858, allocations: 0 / 0.5195 GB, free: 8.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006908/0.2865, allocations: 252.8 kB / 0.5198 GB, free: 8.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.2866, allocations: 62.05 kB / 0.5198 GB, free: 8.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2868, allocations: 231.3 kB / 0.5201 GB, free: 8.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2868, allocations: 27.42 kB / 0.5201 GB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.2868, allocations: 108.6 kB / 0.5202 GB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.2869, allocations: 34.86 kB / 0.5202 GB, free: 8.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.2869, allocations: 2.5 kB / 0.5202 GB, free: 8.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.287, allocations: 328.6 kB / 0.5205 GB, free: 8.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.287, allocations: 29.91 kB / 0.5206 GB, free: 8.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.2871, allocations: 47.05 kB / 0.5206 GB, free: 8.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.796e-05/0.2872, allocations: 32.25 kB / 0.5206 GB, free: 8.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2872, allocations: 0.7031 kB / 0.5206 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002009/0.2874, allocations: 130.2 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2874, allocations: 5.5 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.2874, allocations: 3.094 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.2875, allocations: 2.125 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.2875, allocations: 23.48 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2875, allocations: 9.734 kB / 0.5208 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.2876, allocations: 3.812 kB / 0.5208 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2876, allocations: 3.344 kB / 0.5208 GB, free: 8.098 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.858e-05/0.2877, allocations: 135 kB / 0.5209 GB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.2877, allocations: 15.84 kB / 0.521 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2878, allocations: 22.92 kB / 0.521 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2878, allocations: 1.031 kB / 0.521 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2878, allocations: 2.688 kB / 0.521 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2878, allocations: 8.656 kB / 0.521 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.2882, allocations: 449.7 kB / 0.5214 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2882, allocations: 0.9688 kB / 0.5214 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.2883, allocations: 14.03 kB / 0.5214 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2883, allocations: 1.531 kB / 0.5214 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2883, allocations: 11.08 kB / 0.5214 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2883, allocations: 5.969 kB / 0.5214 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2883, allocations: 5.578 kB / 0.5215 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.2886, allocations: 233 kB / 0.5217 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2886, allocations: 91.7 kB / 0.5218 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2886, allocations: 7.516 kB / 0.5218 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.2887, allocations: 11.31 kB / 0.5218 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.2887, allocations: 14.61 kB / 0.5218 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2887, allocations: 4.891 kB / 0.5218 GB, free: 7.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2889, allocations: 178 kB / 0.522 GB, free: 7.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2889, allocations: 5.125 kB / 0.522 GB, free: 7.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.2891, allocations: 30.73 kB / 0.522 GB, free: 7.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008796/0.29, allocations: 0.498 MB / 0.5225 GB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2902, allocations: 83.34 kB / 0.5226 GB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.2902, allocations: 0 / 0.5226 GB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.2903, allocations: 38.03 kB / 0.5226 GB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2906, allocations: 28 kB / 0.5226 GB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.291, allocations: 343.5 kB / 0.523 GB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2911, allocations: 0.7211 MB / 0.5237 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.2912, allocations: 22.84 kB / 0.5237 GB, free: 6.121 MB / 346.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2912, allocations: 192 / 0.5237 GB, free: 6.121 MB / 346.7 MB Notification: Performance of Templates: time 0.00401/0.2952, allocations: 2.251 MB / 0.5259 GB, free: 5.891 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches