Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 199.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.5 MB / 243.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008169, allocations: 95.94 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3493/0.3493, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002998, allocations: 15.98 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3585, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001751/0.3603, allocations: 1.429 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3615, allocations: 0.9455 MB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.3616, allocations: 3.938 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3619, allocations: 43.84 kB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.3621, allocations: 69.61 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3624, allocations: 99.64 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3625, allocations: 92.09 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3626, allocations: 6.109 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.3627, allocations: 43.34 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.3628, allocations: 26.78 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3628, allocations: 0 / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.3629, allocations: 40.95 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.3629, allocations: 13.14 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.363, allocations: 65.27 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3631, allocations: 88.83 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3631, allocations: 3.719 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3631, allocations: 0 / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3632, allocations: 0 / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004256/0.3636, allocations: 385.6 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3636, allocations: 12.09 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3637, allocations: 11.81 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3639, allocations: 216.2 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3639, allocations: 3.344 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3639, allocations: 11.28 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.364, allocations: 53.92 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3641, allocations: 3.844 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3641, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.3641, allocations: 3.938 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.3642, allocations: 20.62 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.3645, allocations: 284.6 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3646, allocations: 60.69 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.3647, allocations: 17.36 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3647, allocations: 7.031 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3649, allocations: 64.78 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3649, allocations: 0 / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004743/0.3654, allocations: 183.1 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3654, allocations: 54.64 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3655, allocations: 180.7 kB / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3656, allocations: 25.7 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.3656, allocations: 100.7 kB / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3656, allocations: 25.66 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3656, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.3657, allocations: 336.1 kB / 0.5207 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.3658, allocations: 16.17 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.3658, allocations: 43.59 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.3659, allocations: 56.47 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3659, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.3661, allocations: 104.3 kB / 0.5209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3661, allocations: 9.688 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3661, allocations: 0 / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3661, allocations: 0 / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.3662, allocations: 20.91 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3662, allocations: 0 / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3663, allocations: 6.5 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3663, allocations: 6 kB / 0.521 GB, free: 33.28 MB / 378.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 (10): * Single equations (assignments): 10 * 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.45e-05/0.3664, allocations: 131.4 kB / 0.5211 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.3664, allocations: 9.438 kB / 0.5211 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3664, allocations: 22.2 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3665, allocations: 0 / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3665, allocations: 2.562 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3665, allocations: 4.312 kB / 0.5212 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3668, allocations: 385.8 kB / 0.5215 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3668, allocations: 4 kB / 0.5215 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.3669, allocations: 16.28 kB / 0.5215 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3669, allocations: 0 / 0.5215 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3669, allocations: 10.97 kB / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3669, allocations: 0 / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3669, allocations: 0 / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3671, allocations: 215.8 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3671, allocations: 83.8 kB / 0.5218 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3671, allocations: 6.688 kB / 0.5218 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.3672, allocations: 11.38 kB / 0.5219 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3672, allocations: 5.312 kB / 0.5219 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3673, allocations: 6.047 kB / 0.5219 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.416e-05/0.3674, allocations: 137.3 kB / 0.522 GB, free: 32.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3674, allocations: 2.812 kB / 0.522 GB, free: 32.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.3677, allocations: 22.53 kB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.0009013/0.3686, allocations: 461.5 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3688, allocations: 57.12 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3688, allocations: 0 / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.3689, allocations: 28.81 kB / 0.5225 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3692, allocations: 22.75 kB / 0.5226 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3696, allocations: 266.1 kB / 0.5228 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3697, allocations: 0.7073 MB / 0.5235 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3698, allocations: 23.05 kB / 0.5235 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3698, allocations: 0 / 0.5235 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003093/0.3729, allocations: 1.907 MB / 0.5254 GB, free: 31 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches