Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.4 kB / 16.64 MB, free: 6.93 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.001009/0.001008, allocations: 186.5 kB / 17.56 MB, free: 6.039 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.426/1.426, allocations: 205.1 MB / 223.4 MB, free: 12.48 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.2097/0.2097, 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.001438/0.001438, allocations: 73.66 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09666, allocations: 57.79 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003011/0.09971, allocations: 1.746 MB / 442.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1008, allocations: 0.7929 MB / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.1009, allocations: 3.938 kB / 443.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1012, allocations: 31.89 kB / 443.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1015, allocations: 43.83 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1018, allocations: 79.84 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1019, allocations: 91.7 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.102, allocations: 20.5 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.1021, allocations: 39.78 kB / 443.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.1022, allocations: 31.8 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1022, allocations: 4 kB / 443.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.1023, allocations: 43.97 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1024, allocations: 19.92 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1024, allocations: 31.8 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1026, allocations: 83.77 kB / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1026, allocations: 0 / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1026, allocations: 0 / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1026, allocations: 4 kB / 443.7 MB, free: 4.258 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.0004464/0.1031, allocations: 411 kB / 444.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1031, allocations: 15.89 kB / 444.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1032, allocations: 12.75 kB / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1034, allocations: 202.1 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1034, allocations: 8.375 kB / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1034, allocations: 4.125 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1035, allocations: 53.67 kB / 444.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1036, allocations: 4 kB / 444.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1036, allocations: 4 kB / 444.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1036, allocations: 0 / 444.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.1037, allocations: 19.92 kB / 444.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.104, allocations: 284.9 kB / 444.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1041, allocations: 62.67 kB / 444.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.1042, allocations: 20.84 kB / 444.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1042, allocations: 7.938 kB / 444.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1044, allocations: 67.33 kB / 444.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1044, allocations: 0 / 444.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004814/0.1049, allocations: 169.2 kB / 445.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1049, allocations: 55.41 kB / 445.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.105, allocations: 178 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1051, allocations: 25.7 kB / 445.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.1051, allocations: 100.1 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1051, allocations: 27.64 kB / 445.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1052, allocations: 25.72 kB / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.1052, allocations: 326.8 kB / 445.8 MB, free: 2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.1053, allocations: 19.98 kB / 445.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.1053, allocations: 37.7 kB / 445.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.1054, allocations: 57.66 kB / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1054, allocations: 0 / 445.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.1056, allocations: 101.6 kB / 446 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1056, allocations: 4 kB / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1056, allocations: 384 / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1056, allocations: 4 kB / 446 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.1057, allocations: 23.97 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1057, allocations: 3.984 kB / 446 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1058, allocations: 11.94 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1058, allocations: 0 / 446 MB, free: 1.723 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 8.506e-05/0.1059, allocations: 125.8 kB / 446.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1059, allocations: 15.81 kB / 446.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.106, allocations: 16.7 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.106, allocations: 0 / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.106, allocations: 4 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.106, allocations: 3.938 kB / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1063, allocations: 383.3 kB / 446.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1063, allocations: 4 kB / 446.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.1064, allocations: 7.984 kB / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1064, allocations: 4 kB / 446.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1064, allocations: 11.88 kB / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1064, allocations: 0 / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1064, allocations: 8.031 kB / 446.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1066, allocations: 196.2 kB / 446.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.1066, allocations: 85.02 kB / 446.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1066, allocations: 7.938 kB / 446.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.1067, allocations: 3.984 kB / 446.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1068, allocations: 4 kB / 446.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1068, allocations: 8.188 kB / 446.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.1069, allocations: 135.2 kB / 447 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1069, allocations: 3.938 kB / 447 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1071, allocations: 24 kB / 447.1 MB, free: 0.5781 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.0009907/0.1081, allocations: 474.2 kB / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1083, allocations: 59.91 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1083, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.1084, allocations: 31.98 kB / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1087, allocations: 19.98 kB / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.1092, allocations: 276.6 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1095, allocations: 0.7001 MB / 448.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1095, allocations: 19.42 kB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1095, allocations: 4 kB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.003754/0.1133, allocations: 1.875 MB / 450.5 MB, free: 13.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches