Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.7 kB / 17.03 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.001318/0.001318, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2347/0.2347, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 70.09 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1293, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003576/0.1329, allocations: 1.543 MB / 443.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.1336, allocations: 319.5 kB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.1337, allocations: 4 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.1341, allocations: 87.75 kB / 443.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1344, allocations: 75.66 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1347, allocations: 71.78 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1349, allocations: 67.83 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1351, allocations: 19.92 kB / 444.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.1351, allocations: 31.91 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1352, allocations: 51.81 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1353, allocations: 4 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.1353, allocations: 27.98 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1354, allocations: 19.92 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1355, allocations: 31.75 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1357, allocations: 95.64 kB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1357, allocations: 0 / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1357, allocations: 0 / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1357, allocations: 0 / 444.4 MB, free: 3.68 MB / 318.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.0004418/0.1362, allocations: 407 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1362, allocations: 15.83 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1362, allocations: 12.84 kB / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1364, allocations: 202.1 kB / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1364, allocations: 4.375 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1365, allocations: 4.375 kB / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1366, allocations: 57.75 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1366, allocations: 0 / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1366, allocations: 0 / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1367, allocations: 3.938 kB / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.1367, allocations: 23.97 kB / 445.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.1371, allocations: 280.9 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1373, allocations: 50.5 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.1373, allocations: 12.95 kB / 445.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1374, allocations: 3.984 kB / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1374, allocations: 30.56 kB / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1374, allocations: 0 / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.1379, allocations: 149.2 kB / 445.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.1379, allocations: 51.41 kB / 445.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1381, allocations: 215.6 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.1381, allocations: 29.7 kB / 445.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1382, allocations: 108 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1382, allocations: 19.73 kB / 446 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1382, allocations: 17.72 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.1383, allocations: 330.8 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.1384, allocations: 19.98 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.1384, allocations: 11.98 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.1385, allocations: 53.02 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1385, allocations: 0 / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001396/0.1387, allocations: 85.52 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1387, allocations: 8 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1387, allocations: 0 / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1387, allocations: 0 / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.1388, allocations: 11.98 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1388, allocations: 0 / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.1389, allocations: 7.938 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1389, allocations: 0 / 446.6 MB, free: 1.277 MB / 318.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 6.778e-05/0.1389, allocations: 137.7 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.139, allocations: 19.81 kB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.1392, allocations: 94.59 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1392, allocations: 0 / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1392, allocations: 0 / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1392, allocations: 0 / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1395, allocations: 354.5 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1395, allocations: 0 / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.1396, allocations: 19.92 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1396, allocations: 0 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1396, allocations: 0 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1396, allocations: 8.125 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1396, allocations: 4 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1398, allocations: 175.4 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.1398, allocations: 96.86 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1398, allocations: 0 / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.1399, allocations: 7.938 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1399, allocations: 3.984 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.14, allocations: 4 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.1401, allocations: 168.2 kB / 447.6 MB, free: 108 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1401, allocations: 4 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1403, allocations: 12 kB / 447.7 MB, free: 92 kB / 318.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.0009289/0.1413, allocations: 414.1 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1415, allocations: 43.97 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1415, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.1416, allocations: 23.98 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1419, allocations: 23.86 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.1425, allocations: 226.8 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1429, allocations: 0.7117 MB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.1429, allocations: 15.95 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.143, allocations: 11.44 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.143, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of Templates: time 0.004009/0.147, allocations: 1.125 MB / 450.2 MB, free: 13.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches