Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.00131/0.001311, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.36 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.2037/0.2037, allocations: 44.16 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 57.19 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003278/0.1153, allocations: 1.614 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1168, allocations: 0.9959 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.1169, allocations: 4 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1172, allocations: 19.86 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1174, allocations: 39.91 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1176, allocations: 75.84 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1178, allocations: 47.84 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1179, allocations: 12 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.118, allocations: 27.84 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1181, allocations: 19.92 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1182, allocations: 4 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1183, allocations: 47.95 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1183, allocations: 15.94 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1184, allocations: 15.88 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1185, allocations: 63.91 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1186, allocations: 11.88 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1186, allocations: 0 / 472.2 MB, free: 11.81 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.000453/0.119, allocations: 379.6 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1191, allocations: 8.031 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1191, allocations: 8.844 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1193, allocations: 188.2 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1194, allocations: 4.359 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1194, allocations: 384 / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1195, allocations: 67.52 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1196, allocations: 3.938 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1196, allocations: 4 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1196, allocations: 0 / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.1197, allocations: 19.98 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.12, allocations: 272.9 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1203, allocations: 42.5 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.1203, allocations: 20.94 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1203, allocations: 0 / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1204, allocations: 38.56 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1204, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005286/0.1209, allocations: 133.3 kB / 473.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.121, allocations: 77.11 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1211, allocations: 141.1 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1211, allocations: 37.58 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1212, allocations: 96.12 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1212, allocations: 15.75 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1213, allocations: 13.72 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.1214, allocations: 326.8 kB / 474 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.1214, allocations: 15.98 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.1215, allocations: 33.7 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1216, allocations: 49.05 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1216, allocations: 0 / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.1218, allocations: 85.52 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1219, allocations: 4 kB / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1219, allocations: 0 / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1219, allocations: 0 / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.122, allocations: 15.98 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.122, allocations: 4 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.122, allocations: 4 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.122, allocations: 3.984 kB / 474.2 MB, free: 9.5 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 7.928e-05/0.1221, allocations: 122.3 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.1222, allocations: 7.906 kB / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.1224, allocations: 93.56 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1224, allocations: 0 / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1224, allocations: 4 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1224, allocations: 0 / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1228, allocations: 342.5 kB / 474.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1228, allocations: 0 / 474.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1229, allocations: 15.92 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1229, allocations: 0 / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1229, allocations: 4 kB / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.1229, allocations: 8.125 kB / 474.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1229, allocations: 4 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1231, allocations: 179.4 kB / 475 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1232, allocations: 77.11 kB / 475.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1232, allocations: 0 / 475.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1233, allocations: 7.938 kB / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1233, allocations: 7.984 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1233, allocations: 7.938 kB / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.1234, allocations: 103.3 kB / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1234, allocations: 0 / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1237, allocations: 27.89 kB / 475.2 MB, free: 8.402 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.000967/0.1247, allocations: 449 kB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1249, allocations: 43.97 kB / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1249, allocations: 0 / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.1249, allocations: 23.98 kB / 475.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1253, allocations: 13.81 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1257, allocations: 208.9 kB / 476 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1259, allocations: 0.6887 MB / 476.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.126, allocations: 15.44 kB / 476.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.126, allocations: 0 / 476.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of Templates: time 0.003279/0.1293, allocations: 1.551 MB / 478.2 MB, free: 5.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches