Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001029/0.001029, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.366/1.366, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2149/0.2149, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.73 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09714, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003371/0.1006, allocations: 1.907 MB / 471.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.102, allocations: 0.9119 MB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.1021, allocations: 0 / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1023, allocations: 47.7 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1026, allocations: 63.62 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1029, allocations: 135.3 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1031, allocations: 135.6 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1032, allocations: 29.47 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.1033, allocations: 59.7 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.1034, allocations: 47.72 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1034, allocations: 8 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1035, allocations: 47.98 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1036, allocations: 27.84 kB / 473.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.1036, allocations: 51.67 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1038, allocations: 143.8 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1039, allocations: 0 / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1039, allocations: 0 / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1039, allocations: 0 / 473.5 MB, free: 10.76 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005815/0.1045, allocations: 476.6 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1045, allocations: 8.031 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1045, allocations: 16.75 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1048, allocations: 231.9 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1048, allocations: 4.375 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1048, allocations: 12.12 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1051, allocations: 108.2 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1051, allocations: 3.938 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1051, allocations: 0 / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1051, allocations: 0 / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1053, allocations: 47.97 kB / 474.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1058, allocations: 0.5165 MB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1061, allocations: 78.67 kB / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.1062, allocations: 40.83 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1062, allocations: 7.938 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1065, allocations: 83.38 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1065, allocations: 3.938 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003774/0.1069, allocations: 141.7 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1069, allocations: 55.34 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1071, allocations: 187.6 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1071, allocations: 37.64 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.1072, allocations: 112 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1072, allocations: 27.61 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1073, allocations: 33.7 kB / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1074, allocations: 322.8 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1075, allocations: 31.98 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1076, allocations: 68.2 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1078, allocations: 92.22 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1078, allocations: 0 / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002686/0.1081, allocations: 137.3 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1081, allocations: 4 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1081, allocations: 4 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1081, allocations: 0 / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1082, allocations: 31.86 kB / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1083, allocations: 0 / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.1083, allocations: 24.05 kB / 476.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1084, allocations: 8 kB / 476.4 MB, free: 7.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.783e-05/0.1085, allocations: 121.8 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1085, allocations: 15.81 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.1085, allocations: 21.39 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1085, allocations: 3.938 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1086, allocations: 0 / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1086, allocations: 0 / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1087, allocations: 205.6 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1087, allocations: 0 / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1088, allocations: 27.91 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1088, allocations: 96 / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1089, allocations: 7.938 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1089, allocations: 3.938 kB / 476.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1089, allocations: 0 / 476.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.1092, allocations: 176.8 kB / 477 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1093, allocations: 96.94 kB / 477.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1093, allocations: 11.94 kB / 477.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1094, allocations: 11.94 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1094, allocations: 3.984 kB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1095, allocations: 4 kB / 477.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1096, allocations: 141.2 kB / 477.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1096, allocations: 0 / 477.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1098, allocations: 24 kB / 477.3 MB, free: 6.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008912/0.1107, allocations: 409.7 kB / 477.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.111, allocations: 87.83 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.111, allocations: 0 / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.1111, allocations: 39.92 kB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1114, allocations: 38.56 kB / 477.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.1119, allocations: 293.9 kB / 478.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1122, allocations: 0.7201 MB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.1122, allocations: 15.44 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1122, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Templates: time 0.003685/0.1159, allocations: 2.171 MB / 481 MB, free: 2.965 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches