Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001201, allocations: 200.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, 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.0008401/0.0008401, allocations: 94.94 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 44.83 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002497, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09541, allocations: 62.96 MB / 0.5153 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002238/0.09769, allocations: 1.605 MB / 0.5169 GB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.09929, allocations: 0.983 MB / 0.5179 GB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.09945, allocations: 4 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.09978, allocations: 43.77 kB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1001, allocations: 75.67 kB / 0.518 GB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1768/0.2769, allocations: 101.9 kB / 0.5181 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2773, allocations: 124.3 kB / 0.5182 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2774, allocations: 23.22 kB / 0.5182 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2775, allocations: 52.86 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.2777, allocations: 42.47 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2777, allocations: 4.25 kB / 0.5183 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.2778, allocations: 39.66 kB / 0.5184 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.2779, allocations: 20.92 kB / 0.5184 GB, free: 9.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.2779, allocations: 46.11 kB / 0.5184 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.2782, allocations: 109.9 kB / 0.5185 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2782, allocations: 0 / 0.5185 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2782, allocations: 5.094 kB / 0.5185 GB, free: 9.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2782, allocations: 0 / 0.5185 GB, free: 9.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005618/0.2788, allocations: 463.2 kB / 0.519 GB, free: 9.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2788, allocations: 8.812 kB / 0.519 GB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.2789, allocations: 16.38 kB / 0.519 GB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2791, allocations: 231.6 kB / 0.5192 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2791, allocations: 5.438 kB / 0.5192 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2792, allocations: 11.31 kB / 0.5192 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2794, allocations: 104.2 kB / 0.5193 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2795, allocations: 3.562 kB / 0.5193 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2795, allocations: 2.547 kB / 0.5193 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2795, allocations: 1.969 kB / 0.5193 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2797, allocations: 56.91 kB / 0.5194 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.2802, allocations: 0.5005 MB / 0.5199 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.2805, allocations: 90.84 kB / 0.52 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.2806, allocations: 42.19 kB / 0.52 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2806, allocations: 5.344 kB / 0.52 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2809, allocations: 87.62 kB / 0.5201 GB, free: 8.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.2809, allocations: 0 / 0.5201 GB, free: 8.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004177/0.2813, allocations: 155.2 kB / 0.5202 GB, free: 8.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.2813, allocations: 54.39 kB / 0.5203 GB, free: 8.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.2815, allocations: 199.5 kB / 0.5205 GB, free: 8.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2815, allocations: 30.67 kB / 0.5205 GB, free: 8.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2816, allocations: 121.6 kB / 0.5206 GB, free: 8.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2816, allocations: 30.86 kB / 0.5207 GB, free: 8.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.2816, allocations: 2.562 kB / 0.5207 GB, free: 8.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.2817, allocations: 327.7 kB / 0.521 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.2818, allocations: 29.42 kB / 0.521 GB, free: 7.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.2819, allocations: 67.39 kB / 0.5211 GB, free: 7.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.282, allocations: 34.53 kB / 0.5211 GB, free: 7.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.282, allocations: 2.359 kB / 0.5211 GB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002673/0.2823, allocations: 143.1 kB / 0.5212 GB, free: 7.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2823, allocations: 7.047 kB / 0.5212 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2823, allocations: 0.625 kB / 0.5212 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2823, allocations: 2.891 kB / 0.5212 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2824, allocations: 25.69 kB / 0.5213 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2825, allocations: 5.734 kB / 0.5213 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.2825, allocations: 20.53 kB / 0.5213 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2826, allocations: 4.812 kB / 0.5213 GB, free: 7.777 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.391e-05/0.2827, allocations: 134 kB / 0.5214 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2827, allocations: 10.86 kB / 0.5214 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2827, allocations: 19.39 kB / 0.5215 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2827, allocations: 1.594 kB / 0.5215 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2827, allocations: 0.6562 kB / 0.5215 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2828, allocations: 7.734 kB / 0.5215 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2829, allocations: 214.2 kB / 0.5217 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2829, allocations: 4 kB / 0.5217 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.283, allocations: 13.7 kB / 0.5217 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.283, allocations: 1.25 kB / 0.5217 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.283, allocations: 5.125 kB / 0.5217 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.283, allocations: 6.75 kB / 0.5217 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.283, allocations: 0.5625 kB / 0.5217 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.2834, allocations: 189.8 kB / 0.5219 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2834, allocations: 90.61 kB / 0.522 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2835, allocations: 1.438 kB / 0.522 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.2835, allocations: 11.34 kB / 0.522 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2836, allocations: 7.094 kB / 0.522 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2836, allocations: 4.031 kB / 0.522 GB, free: 7.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2837, allocations: 147.9 kB / 0.5221 GB, free: 7.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2837, allocations: 4 kB / 0.5221 GB, free: 7.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.284, allocations: 33.08 kB / 0.5222 GB, free: 7.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0007552/0.2847, allocations: 423.8 kB / 0.5226 GB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.285, allocations: 81.58 kB / 0.5227 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.285, allocations: 8.188 kB / 0.5227 GB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2851, allocations: 41.67 kB / 0.5227 GB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.2854, allocations: 35.61 kB / 0.5227 GB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.286, allocations: 322.7 kB / 0.523 GB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2861, allocations: 0.7132 MB / 0.5237 GB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.2862, allocations: 21.92 kB / 0.5238 GB, free: 6.023 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2862, allocations: 0 / 0.5238 GB, free: 6.023 MB / 346.7 MB Notification: Performance of Templates: time 0.004678/0.2909, allocations: 2.181 MB / 0.5259 GB, free: 5.832 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches