Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.6 kB / 17.04 MB, free: 5.809 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.001606/0.001606, allocations: 195 kB / 17.98 MB, free: 5.027 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.659/1.659, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2317/0.2317, allocations: 43.52 MB / 314.7 MB, free: 492 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.001728/0.001728, allocations: 68.47 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.135, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002956/0.138, allocations: 1.544 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005569/0.1386, allocations: 319.5 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1387, allocations: 7.938 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1389, allocations: 23.84 kB / 443.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1391, allocations: 47.78 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1394, allocations: 67.83 kB / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1395, allocations: 55.84 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1396, allocations: 7.938 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1397, allocations: 23.86 kB / 444.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.1397, allocations: 23.91 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1398, allocations: 0 / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.1398, allocations: 36 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1399, allocations: 11.92 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1399, allocations: 23.81 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1401, allocations: 79.78 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1401, allocations: 0 / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1401, allocations: 0 / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1401, allocations: 7.875 kB / 444.2 MB, free: 3.871 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.0003919/0.1405, allocations: 383.1 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1406, allocations: 11.89 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1406, allocations: 8.844 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1408, allocations: 193.4 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1408, allocations: 384 / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1408, allocations: 4.375 kB / 444.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1409, allocations: 49.81 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.141, allocations: 4 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.141, allocations: 0 / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.141, allocations: 0 / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.1411, allocations: 27.91 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.1413, allocations: 280.8 kB / 445.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1415, allocations: 38.56 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1416, allocations: 16.86 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1416, allocations: 3.938 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1416, allocations: 34.64 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1416, allocations: 4 kB / 445.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.00048/0.1421, allocations: 145.3 kB / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.1422, allocations: 51.41 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1423, allocations: 172.9 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1423, allocations: 25.7 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1423, allocations: 92.14 kB / 445.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.1424, allocations: 27.73 kB / 445.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1424, allocations: 13.72 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.1424, allocations: 326.7 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.1425, allocations: 19.98 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.1426, allocations: 23.92 kB / 446.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.1427, allocations: 36.84 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1427, allocations: 4 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/0.1428, allocations: 89.5 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1428, allocations: 5.25 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1428, allocations: 4 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1429, allocations: 0 / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.1429, allocations: 8.281 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1429, allocations: 0 / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.143, allocations: 7.984 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.143, allocations: 4 kB / 446.3 MB, free: 1.578 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 5.92e-05/0.143, allocations: 125.7 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1431, allocations: 7.906 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.1433, allocations: 101.9 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1433, allocations: 0 / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1433, allocations: 0 / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1433, allocations: 320 / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1436, allocations: 350.4 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1436, allocations: 4 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.1437, allocations: 11.98 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1437, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1437, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1437, allocations: 7.875 kB / 446.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1437, allocations: 0 / 446.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.1439, allocations: 179.4 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.1439, allocations: 81.09 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1439, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.144, allocations: 11.94 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.144, allocations: 7.984 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.144, allocations: 0 / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.1441, allocations: 127.2 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1441, allocations: 0 / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1443, allocations: 19.91 kB / 447.3 MB, free: 472 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.0008985/0.1452, allocations: 410.2 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1454, allocations: 47.91 kB / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1454, allocations: 0 / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.1455, allocations: 23.98 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1459, allocations: 23.97 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.1463, allocations: 178.2 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1466, allocations: 0.7079 MB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1467, allocations: 4 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1467, allocations: 11.44 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1467, allocations: 0 / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.004048/0.1508, allocations: 1.104 MB / 449.8 MB, free: 14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches