Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 106.3 kB / 17.98 MB, free: 5.391 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.001363/0.001363, allocations: 193.3 kB / 18.9 MB, free: 4.469 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.317/1.317, allocations: 222.9 MB / 242.6 MB, free: 13.61 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.2028/0.2028, allocations: 44.17 MB / 336.9 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.05 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 60.82 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003179/0.1059, allocations: 1.969 MB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1073, allocations: 0.9004 MB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1074, allocations: 7.938 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1076, allocations: 31.84 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1078, allocations: 51.77 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1082, allocations: 107.8 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1084, allocations: 135.6 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1085, allocations: 41.42 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.1086, allocations: 55.66 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.1087, allocations: 47.72 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1087, allocations: 8 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.804e-05/0.1088, allocations: 51.97 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.1089, allocations: 19.92 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.109, allocations: 55.61 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1092, allocations: 112 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1092, allocations: 0 / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1092, allocations: 0 / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1092, allocations: 0 / 473 MB, free: 11.09 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.0005918/0.1098, allocations: 476.6 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1098, allocations: 8.031 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1099, allocations: 20.75 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1101, allocations: 228.4 kB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1101, allocations: 4.375 kB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1102, allocations: 12.12 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1104, allocations: 104.2 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1104, allocations: 4 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1104, allocations: 0 / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1104, allocations: 3.938 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1106, allocations: 51.91 kB / 473.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1111, allocations: 0.5165 MB / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1114, allocations: 78.67 kB / 474.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.1115, allocations: 44.83 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1116, allocations: 0 / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1118, allocations: 87.31 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1118, allocations: 0 / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003521/0.1121, allocations: 141.7 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1122, allocations: 59.34 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1123, allocations: 187.5 kB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1123, allocations: 25.8 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1124, allocations: 119.9 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1125, allocations: 31.61 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1125, allocations: 25.7 kB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1126, allocations: 326.8 kB / 475.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.1127, allocations: 27.98 kB / 475.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.1128, allocations: 67.27 kB / 475.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.113, allocations: 104.2 kB / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.113, allocations: 0 / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002503/0.1133, allocations: 133.3 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1133, allocations: 4 kB / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1133, allocations: 4 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1133, allocations: 0 / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1134, allocations: 31.92 kB / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1134, allocations: 4.125 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.1135, allocations: 19.91 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1135, allocations: 8 kB / 475.9 MB, free: 7.902 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.277e-05/0.1136, allocations: 125.8 kB / 476 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1136, allocations: 11.81 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1137, allocations: 21.39 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1137, allocations: 7.938 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1137, allocations: 0 / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1137, allocations: 0 / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1138, allocations: 209.6 kB / 476.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1139, allocations: 0 / 476.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.1139, allocations: 23.92 kB / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1139, allocations: 0 / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.114, allocations: 96 / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.114, allocations: 7.875 kB / 476.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.114, allocations: 3.938 kB / 476.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1143, allocations: 180.8 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1144, allocations: 96.88 kB / 476.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1144, allocations: 4 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.1145, allocations: 11.94 kB / 476.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1145, allocations: 3.984 kB / 476.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1145, allocations: 4 kB / 476.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.1146, allocations: 141.2 kB / 476.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1146, allocations: 0 / 476.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1149, allocations: 24.12 kB / 476.7 MB, free: 6.949 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.0008629/0.1157, allocations: 410.2 kB / 477.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.116, allocations: 87.83 kB / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.116, allocations: 0 / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.1161, allocations: 35.98 kB / 477.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1164, allocations: 36.16 kB / 477.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.1169, allocations: 333.5 kB / 477.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1172, allocations: 0.7201 MB / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1173, allocations: 15.44 kB / 478.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1173, allocations: 0 / 478.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.003882/0.1212, allocations: 2.181 MB / 480.5 MB, free: 3.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches