Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 105.8 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 190.5 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2184/0.2184, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 72.02 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09692, allocations: 57.79 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003167/0.1001, allocations: 1.754 MB / 442.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1013, allocations: 0.7929 MB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.1014, allocations: 0 / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1017, allocations: 39.83 kB / 443.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.102, allocations: 47.83 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1023, allocations: 75.48 kB / 443.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1025, allocations: 103.7 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1026, allocations: 12.5 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.1027, allocations: 39.8 kB / 443.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.1028, allocations: 27.84 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1028, allocations: 7.938 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1029, allocations: 39.98 kB / 443.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.103, allocations: 19.92 kB / 443.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.103, allocations: 35.73 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1032, allocations: 91.83 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1032, allocations: 0 / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1032, allocations: 3.938 kB / 443.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1032, allocations: 0 / 443.7 MB, free: 4.238 MB / 318.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.0005067/0.1038, allocations: 410.9 kB / 444.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1038, allocations: 11.89 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.1039, allocations: 12.84 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1041, allocations: 209.1 kB / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1041, allocations: 8.312 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1041, allocations: 8.125 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1043, allocations: 53.67 kB / 444.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1043, allocations: 0 / 444.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1043, allocations: 4 kB / 444.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1043, allocations: 3.984 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1044, allocations: 19.98 kB / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1048, allocations: 292.7 kB / 444.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1049, allocations: 54.67 kB / 444.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.105, allocations: 20.86 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.105, allocations: 0 / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1052, allocations: 67.33 kB / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.1053, allocations: 0 / 444.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.1058, allocations: 185.2 kB / 445.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1058, allocations: 55.34 kB / 445.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.106, allocations: 190.1 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.106, allocations: 29.7 kB / 445.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.106, allocations: 100.1 kB / 445.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1061, allocations: 19.72 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1061, allocations: 21.7 kB / 445.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.1062, allocations: 334.8 kB / 445.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1062, allocations: 16.38 kB / 445.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.1063, allocations: 33.7 kB / 445.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/0.1064, allocations: 65.64 kB / 445.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1064, allocations: 4 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.1066, allocations: 89.59 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1066, allocations: 12.03 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1066, allocations: 3.984 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1066, allocations: 0 / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.1067, allocations: 19.94 kB / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1067, allocations: 4.188 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1068, allocations: 3.938 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1068, allocations: 11.92 kB / 446.1 MB, free: 1.676 MB / 318.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 7.766e-05/0.1069, allocations: 125.8 kB / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1069, allocations: 11.81 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.107, allocations: 24.7 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.107, allocations: 3.938 kB / 446.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.107, allocations: 0 / 446.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.107, allocations: 3.938 kB / 446.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1073, allocations: 391.3 kB / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1073, allocations: 0 / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.1074, allocations: 12 kB / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1074, allocations: 0 / 446.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1074, allocations: 11.95 kB / 446.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1074, allocations: 4 kB / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1074, allocations: 3.938 kB / 446.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1076, allocations: 200.3 kB / 446.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1076, allocations: 81.02 kB / 446.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1076, allocations: 7.938 kB / 446.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1077, allocations: 7.984 kB / 446.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1077, allocations: 4 kB / 446.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1078, allocations: 8 kB / 447 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.1079, allocations: 139.2 kB / 447.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1079, allocations: 4 kB / 447.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1081, allocations: 27.91 kB / 447.1 MB, free: 0.5117 MB / 318.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.0009779/0.1091, allocations: 474.2 kB / 447.6 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1093, allocations: 59.98 kB / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1093, allocations: 0 / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.1094, allocations: 39.86 kB / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1097, allocations: 20.11 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.1103, allocations: 273 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1106, allocations: 0.7041 MB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1106, allocations: 19.38 kB / 448.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1106, allocations: 0 / 448.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Templates: time 0.004094/0.1147, allocations: 1.905 MB / 450.6 MB, free: 13.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches