Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009481/0.0009477, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008701/0.0008702, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 46.18 MB / 345.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 12 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09777, allocations: 63.55 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001909/0.09971, allocations: 1.438 MB / 485.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1013, allocations: 0.997 MB / 486.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.1014, allocations: 0 / 486.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1016, allocations: 43.83 kB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1019, allocations: 75.73 kB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1021, allocations: 59.89 kB / 486.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1023, allocations: 99.67 kB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.1024, allocations: 16 kB / 486.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.1024, allocations: 39.73 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.1025, allocations: 39.77 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1026, allocations: 0 / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1027, allocations: 39.98 kB / 486.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1027, allocations: 19.92 kB / 486.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.1028, allocations: 61.39 kB / 486.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1029, allocations: 96.02 kB / 486.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1029, allocations: 0 / 486.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.103, allocations: 4 kB / 486.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.103, allocations: 0 / 486.8 MB, free: 1.145 MB / 350.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.0004694/0.1034, allocations: 395.1 kB / 487.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1035, allocations: 12.88 kB / 487.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1035, allocations: 12.78 kB / 487.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1037, allocations: 208.8 kB / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1038, allocations: 384 / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1038, allocations: 12.12 kB / 487.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1039, allocations: 61.61 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.104, allocations: 0 / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.104, allocations: 7.984 kB / 487.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.104, allocations: 4 kB / 487.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.899e-05/0.1041, allocations: 15.98 kB / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1044, allocations: 288.8 kB / 487.8 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1046, allocations: 58.62 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1046, allocations: 24.84 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1047, allocations: 0 / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.1048, allocations: 63.39 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.945e-06/0.1048, allocations: 3.984 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005062/0.1053, allocations: 181.2 kB / 488.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1054, allocations: 55.41 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1056, allocations: 194.9 kB / 488.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1056, allocations: 25.7 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1057, allocations: 104.1 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1057, allocations: 19.72 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.1057, allocations: 21.7 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1058, allocations: 322.8 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1059, allocations: 20 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.106, allocations: 45.64 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1061, allocations: 57.7 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1061, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1063, allocations: 105.4 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1063, allocations: 4 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1063, allocations: 0 / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1063, allocations: 4.219 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.1064, allocations: 16 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1064, allocations: 3.938 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.1065, allocations: 15.92 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1065, allocations: 3.938 kB / 489.1 MB, free: 14.59 MB / 366.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.0001007/0.1066, allocations: 125.8 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1066, allocations: 7.906 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1067, allocations: 17.39 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1067, allocations: 8 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1067, allocations: 0 / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1067, allocations: 3.938 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1071, allocations: 403.2 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1072, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1072, allocations: 8 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1072, allocations: 384 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1072, allocations: 3.938 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1072, allocations: 8.031 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1072, allocations: 4 kB / 489.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1075, allocations: 204.2 kB / 489.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.1075, allocations: 92.91 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1076, allocations: 3.938 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1076, allocations: 8 kB / 490 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.1077, allocations: 11.98 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1077, allocations: 4 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1078, allocations: 152.7 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1078, allocations: 0 / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1081, allocations: 24 kB / 490.1 MB, free: 13.41 MB / 366.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.001/0.1091, allocations: 462.1 kB / 490.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1093, allocations: 59.91 kB / 490.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1093, allocations: 0 / 490.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.1093, allocations: 23.98 kB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1097, allocations: 27.98 kB / 490.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.1101, allocations: 287.9 kB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1104, allocations: 0.7083 MB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1105, allocations: 15.44 kB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1105, allocations: 0 / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.003578/0.114, allocations: 1.932 MB / 493.6 MB, free: 10.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches