Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.7 kB / 18.01 MB, free: 5.738 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.001193/0.001193, allocations: 176.5 kB / 18.91 MB, free: 4.871 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.452/1.452, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 9.094 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002053/0.1174, allocations: 1.413 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1188, allocations: 0.846 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1189, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1192, allocations: 35.89 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1194, allocations: 47.83 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1197, allocations: 94.52 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1199, allocations: 91.7 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.12, allocations: 8.234 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1201, allocations: 39.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.1201, allocations: 31.84 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1202, allocations: 0 / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1203, allocations: 47.91 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1203, allocations: 19.92 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1204, allocations: 57.44 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1206, allocations: 88.09 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1206, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1206, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1206, allocations: 0 / 475.7 MB, free: 10.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005197/0.1211, allocations: 399.2 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1212, allocations: 8.031 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1212, allocations: 8.844 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1214, allocations: 211.9 kB / 476.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1215, allocations: 4.359 kB / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1215, allocations: 12.12 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1216, allocations: 53.61 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1217, allocations: 4 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1217, allocations: 4 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1217, allocations: 4 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.1218, allocations: 15.98 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1221, allocations: 292.8 kB / 476.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1223, allocations: 50.69 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1224, allocations: 28.84 kB / 476.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1224, allocations: 0 / 476.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1226, allocations: 67.39 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1226, allocations: 0 / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1231, allocations: 173.5 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1231, allocations: 55.41 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1233, allocations: 190.2 kB / 477.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1234, allocations: 29.64 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1234, allocations: 104.1 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1235, allocations: 19.66 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1235, allocations: 17.72 kB / 477.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1236, allocations: 326.8 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.1237, allocations: 23.98 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.1237, allocations: 33.7 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1239, allocations: 57.7 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1239, allocations: 4 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1241, allocations: 105.4 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1241, allocations: 4 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1241, allocations: 0 / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1241, allocations: 4 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.1242, allocations: 23.98 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1242, allocations: 4.031 kB / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1243, allocations: 7.938 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1243, allocations: 8 kB / 478 MB, free: 7.938 MB / 350.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.794e-05/0.1244, allocations: 121.8 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1244, allocations: 7.906 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1245, allocations: 16.66 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1245, allocations: 4 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1245, allocations: 3.984 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1245, allocations: 4.125 kB / 478.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1249, allocations: 391.3 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1249, allocations: 7.938 kB / 478.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.125, allocations: 4 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.125, allocations: 4 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.125, allocations: 3.938 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.125, allocations: 0 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.125, allocations: 4 kB / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1252, allocations: 212.2 kB / 478.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1253, allocations: 81.02 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1253, allocations: 11.94 kB / 478.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1254, allocations: 11.97 kB / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.1255, allocations: 0 / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1255, allocations: 4 kB / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1256, allocations: 155.2 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1256, allocations: 0 / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1259, allocations: 20 kB / 479.1 MB, free: 6.781 MB / 350.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.001027/0.1269, allocations: 473.7 kB / 479.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1271, allocations: 59.91 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1271, allocations: 4 kB / 479.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.1272, allocations: 27.92 kB / 479.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1275, allocations: 27.98 kB / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.128, allocations: 276.2 kB / 479.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1283, allocations: 0.7043 MB / 480.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.1283, allocations: 19.44 kB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1283, allocations: 3.938 kB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of Templates: time 0.003797/0.1321, allocations: 1.883 MB / 482.5 MB, free: 3.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches