Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 202.2 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: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007989/0.0007989, allocations: 99.22 kB / 295.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1775/0.1775, allocations: 44.83 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002374, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09747, allocations: 62.95 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001696/0.09921, allocations: 1.447 MB / 0.5167 GB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1004, allocations: 0.9402 MB / 0.5177 GB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.1005, allocations: 0 / 0.5177 GB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1008, allocations: 91.73 kB / 0.5177 GB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1011, allocations: 99.64 kB / 0.5178 GB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1014, allocations: 95.77 kB / 0.5179 GB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1016, allocations: 107.7 kB / 0.518 GB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.1016, allocations: 11.94 kB / 0.5181 GB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1017, allocations: 47.78 kB / 0.5181 GB, free: 2.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.1018, allocations: 55.8 kB / 0.5181 GB, free: 2.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1019, allocations: 4 kB / 0.5182 GB, free: 2.199 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.102, allocations: 51.98 kB / 0.5182 GB, free: 2.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.102, allocations: 31.84 kB / 0.5182 GB, free: 2.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1021, allocations: 37.64 kB / 0.5183 GB, free: 2.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1022, allocations: 108.1 kB / 0.5184 GB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1022, allocations: 0 / 0.5184 GB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1022, allocations: 0 / 0.5184 GB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1022, allocations: 0 / 0.5184 GB, free: 1.969 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.0004169/0.1027, allocations: 418.9 kB / 0.5188 GB, free: 1.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1027, allocations: 11.97 kB / 0.5188 GB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1027, allocations: 15.81 kB / 0.5188 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1029, allocations: 215.6 kB / 0.519 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.103, allocations: 11.92 kB / 0.519 GB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.103, allocations: 4 kB / 0.519 GB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1031, allocations: 57.67 kB / 0.5191 GB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1031, allocations: 3.906 kB / 0.5191 GB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1031, allocations: 0 / 0.5191 GB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1032, allocations: 0 / 0.5191 GB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.1032, allocations: 19.98 kB / 0.5191 GB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1035, allocations: 316.8 kB / 0.5194 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1037, allocations: 54.5 kB / 0.5195 GB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.1038, allocations: 28.97 kB / 0.5195 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1038, allocations: 0 / 0.5195 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.104, allocations: 75.38 kB / 0.5195 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.104, allocations: 0 / 0.5195 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006266/0.1046, allocations: 241 kB / 0.5198 GB, free: 356 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1047, allocations: 59.3 kB / 0.5198 GB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1048, allocations: 234.2 kB / 0.5201 GB, free: 40 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1048, allocations: 33.69 kB / 0.5201 GB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1049, allocations: 104.1 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.105, allocations: 43.48 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.105, allocations: 4 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1051, allocations: 326.8 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1052, allocations: 24 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.1052, allocations: 49.69 kB / 0.5206 GB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.1053, allocations: 28 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1053, allocations: 3.938 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002079/0.1055, allocations: 137.5 kB / 0.5208 GB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1056, allocations: 8 kB / 0.5208 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1056, allocations: 0 / 0.5208 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1056, allocations: 0 / 0.5208 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1057, allocations: 19.98 kB / 0.5208 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1057, allocations: 11.89 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.1057, allocations: 0 / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1058, allocations: 8 kB / 0.5208 GB, free: 15.22 MB / 362.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 0.0001147/0.1059, allocations: 140.6 kB / 0.521 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1059, allocations: 15.81 kB / 0.521 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.106, allocations: 21.39 kB / 0.521 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.106, allocations: 0 / 0.521 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.106, allocations: 0 / 0.521 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.106, allocations: 3.953 kB / 0.521 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.1065, allocations: 460 kB / 0.5214 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1065, allocations: 0 / 0.5214 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.1065, allocations: 16 kB / 0.5215 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1065, allocations: 4 kB / 0.5215 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1065, allocations: 7.953 kB / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1066, allocations: 7.984 kB / 0.5215 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1066, allocations: 0 / 0.5215 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1068, allocations: 233 kB / 0.5217 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1069, allocations: 89 kB / 0.5218 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1069, allocations: 8 kB / 0.5218 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.107, allocations: 3.953 kB / 0.5218 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.107, allocations: 11.98 kB / 0.5218 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.107, allocations: 4 kB / 0.5218 GB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1072, allocations: 180.3 kB / 0.522 GB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1072, allocations: 0 / 0.522 GB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.1075, allocations: 32 kB / 0.522 GB, free: 13.9 MB / 362.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.001087/0.1086, allocations: 0.5056 MB / 0.5225 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1088, allocations: 83.78 kB / 0.5226 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1088, allocations: 0 / 0.5226 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.1089, allocations: 39.92 kB / 0.5226 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1092, allocations: 33.78 kB / 0.5227 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.1097, allocations: 337.4 kB / 0.523 GB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.11, allocations: 0.716 MB / 0.5237 GB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.1101, allocations: 23.42 kB / 0.5237 GB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1101, allocations: 0 / 0.5237 GB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003518/0.1136, allocations: 2.247 MB / 0.5259 GB, free: 10.05 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches