Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001259/0.001259, allocations: 194 kB / 18.77 MB, free: 4.742 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.2081/0.2081, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002374, allocations: 64.66 kB / 408.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1114, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003371/0.1148, allocations: 1.61 MB / 470.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.1156, allocations: 415.3 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.1157, allocations: 3.938 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1159, allocations: 19.92 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1161, allocations: 27.91 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1165, allocations: 107.2 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1166, allocations: 47.91 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1167, allocations: 11.98 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.1168, allocations: 19.88 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.1169, allocations: 23.84 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1169, allocations: 0 / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.117, allocations: 35.98 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.117, allocations: 7.938 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1171, allocations: 19.86 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1172, allocations: 51.94 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1172, allocations: 0 / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1172, allocations: 0 / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1172, allocations: 0 / 471.6 MB, free: 12.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004651/0.1177, allocations: 386.4 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1178, allocations: 8.031 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1178, allocations: 12.84 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.118, allocations: 191.4 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.118, allocations: 4.375 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.118, allocations: 384 / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1182, allocations: 49.81 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1182, allocations: 3.906 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1182, allocations: 0 / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1182, allocations: 0 / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1183, allocations: 39.89 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1187, allocations: 276.9 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.119, allocations: 42.56 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.119, allocations: 12.94 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.119, allocations: 8 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1191, allocations: 38.5 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1191, allocations: 0 / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000567/0.1197, allocations: 141.4 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1197, allocations: 59.34 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1199, allocations: 146 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1199, allocations: 25.7 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.12, allocations: 96.12 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.12, allocations: 11.81 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.12, allocations: 21.72 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1201, allocations: 322.8 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.1202, allocations: 19.98 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.1203, allocations: 24.05 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1204, allocations: 52.83 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1205, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000193/0.1207, allocations: 93.44 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1207, allocations: 4 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1207, allocations: 0 / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1207, allocations: 4 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.1208, allocations: 11.98 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1208, allocations: 0 / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.1208, allocations: 8 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1208, allocations: 4 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.456e-05/0.1209, allocations: 126.2 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.121, allocations: 7.906 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.1212, allocations: 97.91 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1212, allocations: 0 / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1212, allocations: 0 / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1213, allocations: 4 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1217, allocations: 350.5 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1217, allocations: 320 / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.1218, allocations: 19.98 kB / 474.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1218, allocations: 0 / 474.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1218, allocations: 4 kB / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1218, allocations: 3.938 kB / 474.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1218, allocations: 0 / 474.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.122, allocations: 187.4 kB / 474.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1221, allocations: 81.02 kB / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1221, allocations: 0 / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.1222, allocations: 11.94 kB / 474.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1222, allocations: 7.984 kB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1222, allocations: 0 / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.1223, allocations: 111.3 kB / 474.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1223, allocations: 0 / 474.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1226, allocations: 23.98 kB / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000905/0.1235, allocations: 401.4 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1237, allocations: 47.91 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1237, allocations: 0 / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.1238, allocations: 27.98 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1242, allocations: 21.05 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.1246, allocations: 221 kB / 475.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1248, allocations: 0.6965 MB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1249, allocations: 11.44 kB / 476.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of SimCode: time 3.086e-06/0.1249, allocations: 0 / 476.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of Templates: time 0.003068/0.1279, allocations: 1.387 MB / 477.4 MB, free: 6.34 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches