Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001493/0.001493, allocations: 191 kB / 19.34 MB, free: 3.641 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.403/1.403, allocations: 222.9 MB / 243 MB, free: 15.09 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.2111/0.2111, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 60.25 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003798/0.1363, allocations: 1.554 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.1371, allocations: 415.1 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.1372, allocations: 0 / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1375, allocations: 19.86 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1378, allocations: 43.83 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.138, allocations: 87.33 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1382, allocations: 59.89 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1384, allocations: 8 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.1384, allocations: 23.86 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.1385, allocations: 15.92 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1385, allocations: 4 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.1386, allocations: 31.92 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1387, allocations: 15.92 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1387, allocations: 19.81 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1389, allocations: 79.8 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1389, allocations: 0 / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1389, allocations: 0 / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1389, allocations: 0 / 473.1 MB, free: 11.29 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.0005849/0.1395, allocations: 391.1 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1396, allocations: 8.031 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1396, allocations: 8.844 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1399, allocations: 196.1 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1399, allocations: 384 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1399, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1401, allocations: 49.81 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1401, allocations: 4 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1401, allocations: 3.938 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1401, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.1402, allocations: 23.97 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1406, allocations: 284.8 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1409, allocations: 46.56 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1409, allocations: 12.86 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.141, allocations: 0 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.141, allocations: 34.66 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.141, allocations: 0 / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005697/0.1416, allocations: 145.3 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1416, allocations: 51.41 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1418, allocations: 164.2 kB / 474.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1418, allocations: 25.7 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1419, allocations: 96.14 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1419, allocations: 23.64 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.142, allocations: 17.72 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1421, allocations: 326.8 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.1422, allocations: 23.92 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1423, allocations: 15.98 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1424, allocations: 40.84 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1424, allocations: 0 / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.1426, allocations: 81.77 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1426, allocations: 11.98 kB / 475.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1426, allocations: 4 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1427, allocations: 0 / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.1427, allocations: 12 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1427, allocations: 3.938 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.1428, allocations: 7.984 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1428, allocations: 4 kB / 475.2 MB, free: 8.984 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 0.0001104/0.1429, allocations: 121.8 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.143, allocations: 11.91 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1432, allocations: 89.95 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1432, allocations: 0 / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1432, allocations: 0 / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1432, allocations: 0 / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1437, allocations: 350.4 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1437, allocations: 4 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1437, allocations: 16.27 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1437, allocations: 0 / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1438, allocations: 0 / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1438, allocations: 3.938 kB / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1438, allocations: 4 kB / 475.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.144, allocations: 183.3 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1441, allocations: 85 kB / 476 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1441, allocations: 4 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.1442, allocations: 11.94 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1442, allocations: 7.984 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1442, allocations: 192 / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1444, allocations: 127.2 kB / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1444, allocations: 0 / 476.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1446, allocations: 16 kB / 476.2 MB, free: 7.863 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.000997/0.1456, allocations: 404.6 kB / 476.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1458, allocations: 43.97 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1459, allocations: 0 / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.1459, allocations: 31.86 kB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1463, allocations: 18.8 kB / 476.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.1467, allocations: 178.1 kB / 476.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1471, allocations: 0.7041 MB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.1472, allocations: 7.984 kB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1472, allocations: 11.44 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1472, allocations: 4 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.004143/0.1514, allocations: 1.1 MB / 478.7 MB, free: 5.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches