Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 200.9 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.275/1.275, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007166/0.0007166, allocations: 92.66 kB / 295.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1753/0.1753, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08554, allocations: 62.96 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002046/0.08763, allocations: 1.612 MB / 0.5169 GB, free: 3.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.08886, allocations: 0.9791 MB / 0.5179 GB, free: 2.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.08896, allocations: 8 kB / 0.5179 GB, free: 2.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.08923, allocations: 43.77 kB / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.08945, allocations: 75.67 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.0897, allocations: 111.1 kB / 0.5181 GB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.08985, allocations: 123.6 kB / 0.5182 GB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.08995, allocations: 33.47 kB / 0.5182 GB, free: 2.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.09003, allocations: 43.8 kB / 0.5183 GB, free: 2.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.0901, allocations: 39.72 kB / 0.5183 GB, free: 2.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.09013, allocations: 7.938 kB / 0.5183 GB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.09021, allocations: 35.97 kB / 0.5184 GB, free: 1.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.09025, allocations: 23.86 kB / 0.5184 GB, free: 1.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.0903, allocations: 45.64 kB / 0.5184 GB, free: 1.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.09044, allocations: 116 kB / 0.5185 GB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09045, allocations: 0 / 0.5185 GB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.09046, allocations: 4 kB / 0.5185 GB, free: 1.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.09047, allocations: 0 / 0.5185 GB, free: 1.797 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.0004555/0.09093, allocations: 452.6 kB / 0.519 GB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.09096, allocations: 12.02 kB / 0.519 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.09101, allocations: 15.81 kB / 0.519 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.09122, allocations: 227.4 kB / 0.5192 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.09124, allocations: 8 kB / 0.5192 GB, free: 1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.09127, allocations: 11.98 kB / 0.5192 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.09146, allocations: 100.2 kB / 0.5193 GB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.09148, allocations: 3.938 kB / 0.5193 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.0915, allocations: 11.98 kB / 0.5193 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.09151, allocations: 0 / 0.5193 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.09165, allocations: 55.97 kB / 0.5194 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.09206, allocations: 0.5087 MB / 0.5199 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.09234, allocations: 90.66 kB / 0.52 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.09243, allocations: 44.72 kB / 0.52 GB, free: 96 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.09246, allocations: 7.984 kB / 0.52 GB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.09268, allocations: 87.38 kB / 0.5201 GB, free: 15.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.09269, allocations: 0 / 0.5201 GB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000377/0.09307, allocations: 149.3 kB / 0.5203 GB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.09312, allocations: 59.41 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.0933, allocations: 190.3 kB / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.09333, allocations: 38.08 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.09341, allocations: 108 kB / 0.5206 GB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.09344, allocations: 39.55 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.09345, allocations: 0 / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09356, allocations: 330.8 kB / 0.521 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.09366, allocations: 31.97 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.09376, allocations: 64.22 kB / 0.5211 GB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.09387, allocations: 39.98 kB / 0.5211 GB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.09388, allocations: 0 / 0.5211 GB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002624/0.09415, allocations: 141.3 kB / 0.5213 GB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.09417, allocations: 6.031 kB / 0.5213 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.09418, allocations: 0 / 0.5213 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.0942, allocations: 4 kB / 0.5213 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.09431, allocations: 31.92 kB / 0.5213 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.09432, allocations: 3.953 kB / 0.5213 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.09441, allocations: 19.97 kB / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.09442, allocations: 4 kB / 0.5213 GB, free: 14.69 MB / 362.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 9.366e-05/0.09452, allocations: 125.8 kB / 0.5214 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.09455, allocations: 11.91 kB / 0.5215 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.0946, allocations: 21.39 kB / 0.5215 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.0946, allocations: 0 / 0.5215 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.09461, allocations: 3.938 kB / 0.5215 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.09462, allocations: 7.953 kB / 0.5215 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.09479, allocations: 213.5 kB / 0.5217 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0948, allocations: 4 kB / 0.5217 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.09489, allocations: 15.98 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.0949, allocations: 0 / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.09491, allocations: 0 / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.09492, allocations: 0 / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09492, allocations: 3.938 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.0953, allocations: 196.8 kB / 0.5219 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.09537, allocations: 96.97 kB / 0.522 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.0954, allocations: 0 / 0.522 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.09547, allocations: 7.984 kB / 0.522 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.09552, allocations: 8 kB / 0.522 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.09554, allocations: 4 kB / 0.522 GB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.09567, allocations: 144.3 kB / 0.5221 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09568, allocations: 4.062 kB / 0.5221 GB, free: 13.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.09589, allocations: 40.02 kB / 0.5222 GB, free: 13.7 MB / 362.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.0007873/0.09669, allocations: 400.4 kB / 0.5226 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.09693, allocations: 83.89 kB / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09694, allocations: 256 / 0.5226 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.09704, allocations: 43.92 kB / 0.5227 GB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.09734, allocations: 38.53 kB / 0.5227 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.09784, allocations: 322.1 kB / 0.523 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.0981, allocations: 0.7129 MB / 0.5237 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.09815, allocations: 15.44 kB / 0.5237 GB, free: 12.18 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09816, allocations: 4 kB / 0.5238 GB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00355/0.1017, allocations: 2.189 MB / 0.5259 GB, free: 9.996 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches