Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 199.7 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.281/1.281, allocations: 226.6 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007845, allocations: 100.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.3307/0.3307, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3935, allocations: 62.95 MB / 0.5159 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002504/0.3961, allocations: 1.649 MB / 0.5175 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3977, allocations: 1.133 MB / 0.5186 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.3978, allocations: 0 / 0.5186 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.3985, allocations: 186.2 kB / 0.5188 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.3988, allocations: 161.3 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3993, allocations: 190.3 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3995, allocations: 245.5 kB / 0.5193 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3997, allocations: 24.62 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3998, allocations: 106.3 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3999, allocations: 94.95 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4, allocations: 9.812 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.4001, allocations: 42.41 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.4002, allocations: 48.69 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.4003, allocations: 104.6 kB / 0.5198 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.4005, allocations: 181.1 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4005, allocations: 2.844 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4005, allocations: 0 / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4005, allocations: 0 / 0.5199 GB, free: 34.37 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006759/0.4012, allocations: 0.5224 MB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4013, allocations: 8.688 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.4013, allocations: 27.81 kB / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.4017, allocations: 292.1 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4017, allocations: 3.188 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.4017, allocations: 7.094 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.4019, allocations: 99.53 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.402, allocations: 4 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.402, allocations: 6.906 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.402, allocations: 0 / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4021, allocations: 39.61 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.4026, allocations: 384.9 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.4028, allocations: 118 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.227e-05/0.4029, allocations: 41.72 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.403, allocations: 2.656 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.4032, allocations: 120 kB / 0.5215 GB, free: 32.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4032, allocations: 0 / 0.5215 GB, free: 32.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004016/0.4036, allocations: 180.6 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4036, allocations: 106.8 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.404, allocations: 350.1 kB / 0.5222 GB, free: 32.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.404, allocations: 36.73 kB / 0.5222 GB, free: 32.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.4041, allocations: 142.4 kB / 0.5223 GB, free: 32.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.4041, allocations: 30.05 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4041, allocations: 4 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.4042, allocations: 345.9 kB / 0.5227 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.4043, allocations: 29.47 kB / 0.5227 GB, free: 32.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.4044, allocations: 80.56 kB / 0.5228 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.4046, allocations: 91.94 kB / 0.5229 GB, free: 31.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4046, allocations: 0 / 0.5229 GB, free: 31.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002441/0.4048, allocations: 150.3 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4048, allocations: 12.98 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4049, allocations: 0 / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4049, allocations: 3.094 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.405, allocations: 19.44 kB / 0.5231 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.405, allocations: 2.875 kB / 0.5231 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.4051, allocations: 13.91 kB / 0.5231 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4051, allocations: 13.72 kB / 0.5231 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001153/0.4052, allocations: 153.4 kB / 0.5232 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4053, allocations: 27.53 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.4053, allocations: 28.75 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4053, allocations: 0 / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4053, allocations: 0 / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4054, allocations: 6.234 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.4056, allocations: 259.4 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4056, allocations: 0 / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.4056, allocations: 9.312 kB / 0.5235 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4056, allocations: 3.094 kB / 0.5236 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4056, allocations: 2.469 kB / 0.5236 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4057, allocations: 3.375 kB / 0.5236 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4057, allocations: 4 kB / 0.5236 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4059, allocations: 189.2 kB / 0.5237 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.406, allocations: 109.1 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.406, allocations: 4 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.4061, allocations: 9.25 kB / 0.5239 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4062, allocations: 13.19 kB / 0.5239 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4062, allocations: 11.16 kB / 0.5239 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.4064, allocations: 254.6 kB / 0.5241 GB, free: 31.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4064, allocations: 0 / 0.5241 GB, free: 31.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.4067, allocations: 39.19 kB / 0.5242 GB, free: 31.05 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.0009441/0.4076, allocations: 422.4 kB / 0.5246 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.4079, allocations: 91.92 kB / 0.5247 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4079, allocations: 0 / 0.5247 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.408, allocations: 46.64 kB / 0.5247 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4084, allocations: 57.58 kB / 0.5248 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.4091, allocations: 461.5 kB / 0.5252 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4093, allocations: 0.7445 MB / 0.5259 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.4093, allocations: 26.77 kB / 0.5259 GB, free: 29.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4093, allocations: 0 / 0.5259 GB, free: 29.75 MB / 378.7 MB Notification: Performance of Templates: time 0.00475/0.4141, allocations: 3.305 MB / 0.5292 GB, free: 29.38 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches