Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 226.5 MB / 243.4 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008336/0.0008335, allocations: 102.3 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3342/0.3342, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3986, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002131/0.4008, allocations: 1.509 MB / 0.5174 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.4026, allocations: 1.044 MB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.4027, allocations: 0 / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.4032, allocations: 310.5 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.4037, allocations: 233.7 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.4042, allocations: 143.6 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.4045, allocations: 220.3 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.4045, allocations: 12.5 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.4047, allocations: 123.3 kB / 0.5194 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.4049, allocations: 159.8 kB / 0.5195 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.405, allocations: 5.75 kB / 0.5195 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4051, allocations: 40.38 kB / 0.5196 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4053, allocations: 142.4 kB / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4054, allocations: 162 kB / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.4057, allocations: 277.9 kB / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4058, allocations: 2.812 kB / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4058, allocations: 0 / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4058, allocations: 0 / 0.5201 GB, free: 34.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009119/0.4067, allocations: 0.6761 MB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4067, allocations: 8.531 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.4068, allocations: 54.81 kB / 0.5208 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.4074, allocations: 454.3 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4075, allocations: 3.312 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.4075, allocations: 10.36 kB / 0.5213 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.4077, allocations: 84.75 kB / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4077, allocations: 0 / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4078, allocations: 2.938 kB / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4078, allocations: 0 / 0.5214 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.4079, allocations: 33.33 kB / 0.5214 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.4083, allocations: 376 kB / 0.5218 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.4086, allocations: 110.9 kB / 0.5219 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4087, allocations: 48 kB / 0.5219 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4088, allocations: 0 / 0.5219 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.409, allocations: 113.4 kB / 0.522 GB, free: 33.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.409, allocations: 0 / 0.522 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005324/0.4096, allocations: 192.3 kB / 0.5222 GB, free: 33.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4096, allocations: 87.67 kB / 0.5223 GB, free: 33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4109, allocations: 1.055 MB / 0.5233 GB, free: 32.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.411, allocations: 28.08 kB / 0.5234 GB, free: 32.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4111, allocations: 240.7 kB / 0.5236 GB, free: 32.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.4112, allocations: 29.84 kB / 0.5236 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.4112, allocations: 2.562 kB / 0.5236 GB, free: 32.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4113, allocations: 370.1 kB / 0.524 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.4114, allocations: 32.52 kB / 0.524 GB, free: 32.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4116, allocations: 57.59 kB / 0.5241 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.4118, allocations: 87.94 kB / 0.5241 GB, free: 31.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4118, allocations: 6.906 kB / 0.5241 GB, free: 31.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000367/0.4122, allocations: 170.8 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4122, allocations: 8.422 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4122, allocations: 0 / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4122, allocations: 2.938 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4124, allocations: 20.88 kB / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4124, allocations: 0 / 0.5243 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.4125, allocations: 9.812 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.4126, allocations: 9.219 kB / 0.5244 GB, free: 31.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 0.0002275/0.4128, allocations: 227.9 kB / 0.5246 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.4129, allocations: 59.48 kB / 0.5246 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.413, allocations: 57.34 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.413, allocations: 0 / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.413, allocations: 2.562 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.413, allocations: 2.766 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.4133, allocations: 345.1 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4134, allocations: 2.625 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.4134, allocations: 9.188 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4134, allocations: 2.531 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4134, allocations: 7.375 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4134, allocations: 2.812 kB / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4135, allocations: 0 / 0.525 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.4138, allocations: 203.2 kB / 0.5252 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.414, allocations: 145.9 kB / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.414, allocations: 10.59 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4142, allocations: 2.25 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.4142, allocations: 22.94 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4143, allocations: 6.438 kB / 0.5254 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009227/0.4152, allocations: 0.7809 MB / 0.5262 GB, free: 30.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4152, allocations: 96 / 0.5262 GB, free: 30.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.4156, allocations: 48.28 kB / 0.5262 GB, free: 30.83 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001143/0.4168, allocations: 415.3 kB / 0.5266 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.417, allocations: 80.12 kB / 0.5267 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4171, allocations: 0 / 0.5267 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4172, allocations: 37.97 kB / 0.5267 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.4178, allocations: 74.55 kB / 0.5268 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.4192, allocations: 0.9726 MB / 0.5278 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4195, allocations: 0.8473 MB / 0.5286 GB, free: 29.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.4196, allocations: 35.06 kB / 0.5286 GB, free: 29.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4196, allocations: 0 / 0.5286 GB, free: 29.34 MB / 378.7 MB Notification: Performance of Templates: time 0.009716/0.4294, allocations: 5.077 MB / 0.5336 GB, free: 28.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches