Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001086/0.001086, allocations: 194 kB / 18.12 MB, free: 5.383 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.443/1.443, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.2418/0.2418, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 68.83 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1315, allocations: 60.84 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003588/0.1351, allocations: 1.598 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.136, allocations: 415.3 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1361, allocations: 8 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1363, allocations: 23.89 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1365, allocations: 31.84 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1367, allocations: 99.45 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1369, allocations: 47.84 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.137, allocations: 19.98 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.137, allocations: 19.88 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.1371, allocations: 23.86 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1371, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1372, allocations: 31.97 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1373, allocations: 15.92 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1373, allocations: 23.81 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1375, allocations: 75.78 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1375, allocations: 0 / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1375, allocations: 4 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1375, allocations: 4 kB / 470.9 MB, free: 12.39 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.0005171/0.138, allocations: 383.4 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1381, allocations: 8.031 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1381, allocations: 8.844 kB / 471.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1384, allocations: 195.1 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1384, allocations: 4.375 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1384, allocations: 384 / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1386, allocations: 53.81 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1386, allocations: 4 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1386, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1386, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1387, allocations: 31.91 kB / 471.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1392, allocations: 288.7 kB / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1394, allocations: 42.56 kB / 471.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1395, allocations: 20.94 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1395, allocations: 0 / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1395, allocations: 30.56 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1395, allocations: 4 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005865/0.1401, allocations: 149.3 kB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1402, allocations: 55.41 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1404, allocations: 161.8 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1404, allocations: 33.64 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1404, allocations: 96.12 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1405, allocations: 19.64 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1405, allocations: 21.72 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1407, allocations: 322.8 kB / 472.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1407, allocations: 23.98 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.1408, allocations: 19.98 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1409, allocations: 52.83 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1409, allocations: 0 / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001906/0.1411, allocations: 85.56 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1412, allocations: 8 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1412, allocations: 4 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1412, allocations: 0 / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1413, allocations: 15.92 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1413, allocations: 3.984 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.1413, allocations: 4.25 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1413, allocations: 0 / 473.1 MB, free: 10.06 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 9.032e-05/0.1414, allocations: 126.3 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1415, allocations: 12.19 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1417, allocations: 102 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1417, allocations: 3.984 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1417, allocations: 0 / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1418, allocations: 0 / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.1422, allocations: 354.5 kB / 473.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1422, allocations: 3.984 kB / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1423, allocations: 12 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1423, allocations: 3.938 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1423, allocations: 8 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1423, allocations: 3.938 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1423, allocations: 0 / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1425, allocations: 183.4 kB / 473.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1426, allocations: 81.02 kB / 473.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1426, allocations: 11.92 kB / 473.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1427, allocations: 7.938 kB / 473.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1427, allocations: 8 kB / 474 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1427, allocations: 0 / 474 MB, free: 9.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1428, allocations: 133.6 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1428, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1431, allocations: 12 kB / 474.1 MB, free: 8.91 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.001/0.1441, allocations: 400 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1443, allocations: 51.91 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1443, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.1444, allocations: 23.98 kB / 474.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1448, allocations: 19.92 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.1452, allocations: 216.1 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1457, allocations: 0.6965 MB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.098e-05/0.1458, allocations: 11.98 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1458, allocations: 11.44 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1458, allocations: 4 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Templates: time 0.003951/0.1498, allocations: 1.068 MB / 476.6 MB, free: 6.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches