Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00097/0.0009698, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002415/0.0002415, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09693, allocations: 63.57 MB / 483.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001984/0.09895, allocations: 1.435 MB / 485.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1005, allocations: 0.9941 MB / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1006, allocations: 4 kB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1009, allocations: 83.75 kB / 486.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1012, allocations: 91.72 kB / 486.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1014, allocations: 63.88 kB / 486.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1016, allocations: 115.6 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.1017, allocations: 8 kB / 486.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.1018, allocations: 47.77 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.1019, allocations: 55.77 kB / 486.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.102, allocations: 0 / 486.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1021, allocations: 47.97 kB / 486.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.1021, allocations: 23.92 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1022, allocations: 69.38 kB / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1024, allocations: 92.08 kB / 486.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1024, allocations: 7.938 kB / 486.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1024, allocations: 0 / 486.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1024, allocations: 0 / 486.9 MB, free: 1.008 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.0004774/0.1029, allocations: 399.1 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1029, allocations: 12.88 kB / 487.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.103, allocations: 12.75 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1032, allocations: 212.6 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1032, allocations: 8.375 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1032, allocations: 8.109 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1034, allocations: 61.55 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1034, allocations: 0 / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1034, allocations: 4 kB / 487.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1034, allocations: 0 / 487.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.1035, allocations: 15.98 kB / 487.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1039, allocations: 292.8 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.104, allocations: 62.61 kB / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1041, allocations: 20.84 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1041, allocations: 4 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1043, allocations: 67.38 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1043, allocations: 4 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.1048, allocations: 181.1 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1049, allocations: 55.34 kB / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1051, allocations: 223.4 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1051, allocations: 29.7 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1052, allocations: 104.1 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1052, allocations: 27.64 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1053, allocations: 17.72 kB / 488.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1054, allocations: 330.8 kB / 489 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.1054, allocations: 19.98 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.1055, allocations: 41.64 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1056, allocations: 49.72 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1056, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1058, allocations: 109.5 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1059, allocations: 6.5 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1059, allocations: 384 / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1059, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.106, allocations: 15.98 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.106, allocations: 0 / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.106, allocations: 11.94 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1061, allocations: 8 kB / 489.2 MB, free: 14.4 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.0001016/0.1062, allocations: 129.8 kB / 489.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1062, allocations: 19.81 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.1062, allocations: 17.41 kB / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1062, allocations: 4 kB / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1063, allocations: 0 / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.1063, allocations: 8.109 kB / 489.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1067, allocations: 391.3 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1067, allocations: 3.938 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1067, allocations: 8 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1068, allocations: 12.02 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1068, allocations: 3.938 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1068, allocations: 0 / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1068, allocations: 0 / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.107, allocations: 216.3 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1071, allocations: 92.91 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1071, allocations: 7.938 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.1072, allocations: 8 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1072, allocations: 11.92 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1073, allocations: 0 / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1074, allocations: 165.2 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1074, allocations: 0 / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1077, allocations: 28 kB / 490.3 MB, free: 13.19 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.001026/0.1087, allocations: 450 kB / 490.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1089, allocations: 55.92 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1089, allocations: 0 / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.109, allocations: 31.92 kB / 490.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1093, allocations: 24.11 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.1098, allocations: 312.2 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.11, allocations: 0.7121 MB / 491.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1101, allocations: 15.44 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1101, allocations: 0 / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.003727/0.1138, allocations: 1.989 MB / 493.9 MB, free: 9.723 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches