Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 117.2 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001643, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4932, allocations: 62.43 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00344/0.4967, allocations: 1.723 MB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.4999, allocations: 1.629 MB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.5, allocations: 1.531 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.5005, allocations: 40.73 kB / 0.5344 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.5009, allocations: 99.56 kB / 0.5345 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.5012, allocations: 78.73 kB / 0.5346 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.5014, allocations: 106.7 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.5016, allocations: 6.875 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.5017, allocations: 52.25 kB / 0.5347 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.5019, allocations: 43.52 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.502, allocations: 4.594 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.5022, allocations: 118.7 kB / 0.5349 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.5023, allocations: 12.53 kB / 0.5349 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.5024, allocations: 36.53 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.5027, allocations: 171.5 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5027, allocations: 0 / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5027, allocations: 0 / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.5027, allocations: 1.375 kB / 0.5351 GB, free: 10.73 MB / 398.1 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.000654/0.5034, allocations: 434.1 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5035, allocations: 12.23 kB / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.5035, allocations: 18.33 kB / 0.5355 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.5038, allocations: 207.9 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5039, allocations: 5.312 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.5039, allocations: 2.75 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5041, allocations: 69.73 kB / 0.5358 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5041, allocations: 4 kB / 0.5358 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5041, allocations: 1 kB / 0.5358 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5041, allocations: 1.125 kB / 0.5358 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.5042, allocations: 26.08 kB / 0.5358 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5047, allocations: 289.3 kB / 0.5361 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.5049, allocations: 61.31 kB / 0.5362 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.5049, allocations: 22.22 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5049, allocations: 1.375 kB / 0.5362 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.5051, allocations: 65.23 kB / 0.5363 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.5051, allocations: 0 / 0.5363 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.5057, allocations: 173.5 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.5058, allocations: 86.14 kB / 0.5365 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.506, allocations: 166.4 kB / 0.5367 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.506, allocations: 30.8 kB / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.5061, allocations: 100.5 kB / 0.5368 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.5061, allocations: 19.09 kB / 0.5368 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.5062, allocations: 29.17 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5063, allocations: 322.1 kB / 0.5371 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.5064, allocations: 18.62 kB / 0.5372 GB, free: 8.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.5065, allocations: 49.62 kB / 0.5372 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.5066, allocations: 58.42 kB / 0.5373 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5066, allocations: 1.094 kB / 0.5373 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.5068, allocations: 102.9 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5068, allocations: 11.77 kB / 0.5374 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5068, allocations: 1.406 kB / 0.5374 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5069, allocations: 4.062 kB / 0.5374 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.507, allocations: 13.81 kB / 0.5374 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.507, allocations: 4.906 kB / 0.5374 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.507, allocations: 6.688 kB / 0.5374 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.507, allocations: 10.39 kB / 0.5374 GB, free: 8.5 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.5072, allocations: 128.1 kB / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.5072, allocations: 9.078 kB / 0.5375 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.5073, allocations: 12.56 kB / 0.5376 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5073, allocations: 5.516 kB / 0.5376 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5073, allocations: 7.938 kB / 0.5376 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5073, allocations: 0 / 0.5376 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.5078, allocations: 396.6 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5079, allocations: 0 / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.5079, allocations: 11.41 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5079, allocations: 1.281 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5079, allocations: 6.125 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5079, allocations: 4.969 kB / 0.538 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.508, allocations: 5.062 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.5083, allocations: 199.4 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.5083, allocations: 91.78 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5084, allocations: 1.875 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.5085, allocations: 6.406 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.5085, allocations: 11.28 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5086, allocations: 11.44 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5087, allocations: 123.6 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5087, allocations: 0 / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.5091, allocations: 50.8 kB / 0.5384 GB, free: 7.539 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.5106, allocations: 0.5365 MB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.5109, allocations: 66.17 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5109, allocations: 1.188 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.511, allocations: 28.88 kB / 0.5391 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.5114, allocations: 30.56 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.5119, allocations: 194.2 kB / 0.5393 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.5124, allocations: 0.6987 MB / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.993e-05/0.5125, allocations: 19.64 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.5125, allocations: 25.64 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5126, allocations: 0 / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of Templates: time 0.006884/0.5194, allocations: 2.356 MB / 0.5423 GB, free: 5.09 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches