Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 114.3 kB / 18.45 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.00165/0.00165, allocations: 210 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.496/1.496, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2921, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003205/0.2953, allocations: 1.725 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.2972, allocations: 1.027 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.2973, allocations: 5.031 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.2976, allocations: 40.42 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2979, allocations: 91.67 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.2982, allocations: 84.19 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2984, allocations: 104.9 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.2985, allocations: 14.89 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.2986, allocations: 40.33 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.2987, allocations: 33 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2987, allocations: 4.781 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2988, allocations: 43.12 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.2989, allocations: 24.2 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.299, allocations: 39.64 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.2992, allocations: 126.9 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2992, allocations: 1.375 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2992, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2992, allocations: 0 / 0.5351 GB, free: 11.01 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.0005438/0.2998, allocations: 416.4 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2998, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.2999, allocations: 18.23 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3002, allocations: 220.5 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3002, allocations: 5.734 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3002, allocations: 9.5 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3004, allocations: 54.05 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3004, allocations: 1.375 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3004, allocations: 0 / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3004, allocations: 1.375 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.3005, allocations: 17.61 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3009, allocations: 292.2 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3011, allocations: 61.86 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.3011, allocations: 17.11 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3012, allocations: 1.375 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3013, allocations: 69.12 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.3013, allocations: 3.938 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005534/0.3019, allocations: 182.6 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3019, allocations: 53.88 kB / 0.5364 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3021, allocations: 207.6 kB / 0.5366 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3022, allocations: 30.77 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.3022, allocations: 105.8 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3023, allocations: 23.03 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3023, allocations: 24.2 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3025, allocations: 335.2 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.3025, allocations: 14.75 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.3026, allocations: 35.7 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3027, allocations: 63.45 kB / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3027, allocations: 0 / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.3029, allocations: 103.7 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.303, allocations: 13.11 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.303, allocations: 1.094 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.303, allocations: 1.031 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3031, allocations: 20.41 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3031, allocations: 1.344 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.3031, allocations: 5.812 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3032, allocations: 6.984 kB / 0.5374 GB, free: 8.832 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.0001045/0.3033, allocations: 124.1 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3033, allocations: 9.938 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.3034, allocations: 22.83 kB / 0.5375 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3034, allocations: 1.219 kB / 0.5375 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3034, allocations: 0 / 0.5375 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3034, allocations: 5.094 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.3039, allocations: 394.9 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3039, allocations: 1.125 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.3039, allocations: 6.812 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3039, allocations: 1.156 kB / 0.5379 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3039, allocations: 10.31 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.304, allocations: 1.344 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.304, allocations: 0 / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3042, allocations: 213.1 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3043, allocations: 92.19 kB / 0.5382 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3043, allocations: 10.16 kB / 0.5382 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3044, allocations: 9.141 kB / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3045, allocations: 7.297 kB / 0.5382 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3045, allocations: 3.469 kB / 0.5382 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3046, allocations: 163.2 kB / 0.5384 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3046, allocations: 0 / 0.5384 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3049, allocations: 17.78 kB / 0.5384 GB, free: 7.867 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.001031/0.3059, allocations: 468.2 kB / 0.5389 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3062, allocations: 58.64 kB / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3062, allocations: 0 / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.3062, allocations: 33.52 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3066, allocations: 28.45 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.3071, allocations: 265.1 kB / 0.5392 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3074, allocations: 0.7071 MB / 0.5399 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.3074, allocations: 15.38 kB / 0.5399 GB, free: 6.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3074, allocations: 1 kB / 0.5399 GB, free: 6.637 MB / 398.1 MB Notification: Performance of Templates: time 0.003971/0.3114, allocations: 1.992 MB / 0.5419 GB, free: 5.605 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches