Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 62.42 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002824/0.2978, allocations: 1.696 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2993, allocations: 1.006 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.2994, allocations: 1.219 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.2997, allocations: 45.64 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.3, allocations: 107.2 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.3002, allocations: 73.59 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3003, allocations: 102.1 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.3004, allocations: 5.734 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3005, allocations: 38.92 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3006, allocations: 29.47 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3006, allocations: 4.125 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.3007, allocations: 32.61 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3008, allocations: 30.86 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.3008, allocations: 47.91 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.301, allocations: 127.4 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.301, allocations: 1.375 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.301, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.301, allocations: 0 / 0.535 GB, free: 11.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000543/0.3016, allocations: 428.3 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.3016, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.3017, allocations: 14.34 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.3019, allocations: 224.1 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3019, allocations: 1.75 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.302, allocations: 9.484 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3021, allocations: 43.31 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3021, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3021, allocations: 9.312 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3021, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.3022, allocations: 16.22 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.3024, allocations: 199.4 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3026, allocations: 55.19 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.3027, allocations: 25.03 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3027, allocations: 5.312 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.3028, allocations: 64.39 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3028, allocations: 4 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002939/0.3031, allocations: 97.17 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3032, allocations: 56.48 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3035, allocations: 270.6 kB / 0.5364 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3035, allocations: 30.98 kB / 0.5365 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.3036, allocations: 110.6 kB / 0.5366 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3036, allocations: 10.66 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3036, allocations: 18.59 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3037, allocations: 335.9 kB / 0.5369 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.3038, allocations: 11.81 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.3039, allocations: 31.39 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.304, allocations: 47.92 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.304, allocations: 0 / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001849/0.3042, allocations: 89.25 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3042, allocations: 9.625 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3042, allocations: 0 / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3042, allocations: 1.094 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.3043, allocations: 16.8 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3043, allocations: 1.156 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3044, allocations: 6.125 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3044, allocations: 2.375 kB / 0.5371 GB, free: 9.023 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 (7): * Single equations (assignments): 7 * 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 9.777e-05/0.3045, allocations: 137.2 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3045, allocations: 10.56 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.3046, allocations: 27.7 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3046, allocations: 1.219 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3046, allocations: 0 / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3046, allocations: 1 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3047, allocations: 199 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3047, allocations: 0 / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.3048, allocations: 3.531 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.3048, allocations: 0 / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3048, allocations: 9.156 kB / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3048, allocations: 5.078 kB / 0.5375 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3048, allocations: 4 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.305, allocations: 107.8 kB / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.3051, allocations: 92.31 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3051, allocations: 5.156 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.3051, allocations: 1.125 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.3052, allocations: 2.562 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3052, allocations: 10.11 kB / 0.5377 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.3054, allocations: 210.6 kB / 0.5379 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3054, allocations: 0 / 0.5379 GB, free: 8.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3056, allocations: 21.5 kB / 0.5379 GB, free: 8.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008807/0.3065, allocations: 401.8 kB / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3067, allocations: 43.31 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3067, allocations: 1.25 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.3067, allocations: 19.09 kB / 0.5384 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3071, allocations: 40.34 kB / 0.5384 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.3075, allocations: 290.9 kB / 0.5387 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3078, allocations: 0.7151 MB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3079, allocations: 14.31 kB / 0.5394 GB, free: 7.082 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3079, allocations: 0 / 0.5394 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Templates: time 0.003751/0.3116, allocations: 1.899 MB / 0.5413 GB, free: 6.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches