Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001293/0.001293, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.001262/0.001262, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3571, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003217/0.3604, allocations: 1.708 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3619, allocations: 0.8755 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.362, allocations: 4.938 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.3623, allocations: 32.77 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3625, allocations: 54.92 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3629, allocations: 113.6 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3631, allocations: 99.77 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3632, allocations: 12.02 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.3633, allocations: 41.64 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.3634, allocations: 30.33 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3634, allocations: 2.656 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3635, allocations: 43.75 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.3636, allocations: 17.3 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.3636, allocations: 37.05 kB / 0.5226 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.3639, allocations: 110.4 kB / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3639, allocations: 0 / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3639, allocations: 0 / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3639, allocations: 0 / 0.5227 GB, free: 1.543 MB / 382.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.00051/0.3644, allocations: 411.5 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3645, allocations: 9.531 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3645, allocations: 9.859 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3648, allocations: 205.5 kB / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3648, allocations: 6.688 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3648, allocations: 9.438 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.365, allocations: 55.48 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.365, allocations: 4.594 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.365, allocations: 0 / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.365, allocations: 0.875 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.3651, allocations: 17.94 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.3654, allocations: 281.6 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3656, allocations: 63.89 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.3657, allocations: 23.73 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3657, allocations: 1.781 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3658, allocations: 66.34 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3659, allocations: 4 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.3664, allocations: 175.4 kB / 0.524 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.3664, allocations: 57.59 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3666, allocations: 169.2 kB / 0.5242 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3666, allocations: 30.61 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.3667, allocations: 95.86 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3667, allocations: 25.98 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3667, allocations: 27.14 kB / 0.5244 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3669, allocations: 328.5 kB / 0.5247 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.367, allocations: 25.2 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.367, allocations: 39.31 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3672, allocations: 54.06 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3672, allocations: 0 / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.3674, allocations: 113.5 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3674, allocations: 4.281 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3674, allocations: 1.969 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3674, allocations: 1.188 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.3675, allocations: 15.83 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3675, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3676, allocations: 7.75 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3676, allocations: 3.25 kB / 0.525 GB, free: 15.54 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 9.609e-05/0.3677, allocations: 126.4 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.3677, allocations: 17.14 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.3678, allocations: 15.5 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3678, allocations: 1.562 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3678, allocations: 0.9688 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3678, allocations: 4.641 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.3683, allocations: 388.1 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3683, allocations: 5.391 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.3683, allocations: 8.016 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3683, allocations: 5.125 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3683, allocations: 6.938 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3683, allocations: 0.75 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3683, allocations: 1.375 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3686, allocations: 204.8 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3686, allocations: 88.23 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3687, allocations: 6.375 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.3687, allocations: 11.95 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3688, allocations: 5.016 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3688, allocations: 7.594 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3689, allocations: 131.7 kB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.3689, allocations: 0 / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3692, allocations: 25.53 kB / 0.526 GB, free: 14.66 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.001049/0.3703, allocations: 464.6 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3705, allocations: 54.58 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3705, allocations: 0 / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.3706, allocations: 28.28 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3709, allocations: 36.47 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.3714, allocations: 239.4 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3717, allocations: 0.6989 MB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3717, allocations: 16.97 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3717, allocations: 0 / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.003854/0.3756, allocations: 1.885 MB / 0.5293 GB, free: 12.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches