Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.002027/0.002028, allocations: 194 kB / 18.12 MB, free: 5.363 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.421/1.421, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2511/0.2511, allocations: 44.16 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 64.92 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003315/0.1364, allocations: 1.628 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.1372, allocations: 427.2 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.1373, allocations: 0 / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1376, allocations: 67.78 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1378, allocations: 59.86 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1381, allocations: 103.8 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1382, allocations: 63.89 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1383, allocations: 12.19 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.1384, allocations: 43.77 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.1385, allocations: 47.84 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1385, allocations: 4 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1386, allocations: 47.97 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1387, allocations: 19.92 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1388, allocations: 23.8 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1389, allocations: 95.98 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1389, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1389, allocations: 4 kB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.139, allocations: 0 / 471.1 MB, free: 12.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004718/0.1394, allocations: 407 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1395, allocations: 12.03 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1395, allocations: 12.84 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1397, allocations: 200.1 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-06/0.1397, allocations: 384 / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1398, allocations: 8.359 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1399, allocations: 57.61 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.14, allocations: 3.906 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.14, allocations: 0 / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.14, allocations: 0 / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1401, allocations: 27.92 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1405, allocations: 308.8 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1406, allocations: 38.56 kB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.1407, allocations: 20.94 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1407, allocations: 3.938 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1408, allocations: 38.56 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1408, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009734/0.1418, allocations: 237.1 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1418, allocations: 59.41 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.142, allocations: 214.1 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.142, allocations: 25.7 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.1421, allocations: 104 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1422, allocations: 27.59 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1422, allocations: 21.7 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1424, allocations: 322.8 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.1424, allocations: 27.98 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.1425, allocations: 39.97 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1427, allocations: 72.77 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1428, allocations: 0 / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000219/0.143, allocations: 113.5 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.143, allocations: 6.188 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.143, allocations: 0 / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.143, allocations: 0 / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1432, allocations: 23.98 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1432, allocations: 7.938 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.1432, allocations: 11.98 kB / 473.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1432, allocations: 0 / 473.5 MB, free: 9.566 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 (8): * Single equations (assignments): 8 * 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.0001029/0.1433, allocations: 130.3 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.1434, allocations: 11.91 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.1437, allocations: 126.7 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1437, allocations: 0 / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1437, allocations: 3.938 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1437, allocations: 0 / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.1443, allocations: 423.3 kB / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1443, allocations: 0 / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.1444, allocations: 27.95 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1444, allocations: 432 / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1444, allocations: 3.938 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1444, allocations: 0 / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1444, allocations: 4 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1447, allocations: 204.3 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1448, allocations: 96.92 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1448, allocations: 8 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.1449, allocations: 3.938 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.145, allocations: 7.984 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.145, allocations: 4 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1451, allocations: 155.2 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 3.938 kB / 474.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1454, allocations: 20 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00108/0.1465, allocations: 445.9 kB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1467, allocations: 71.95 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1467, allocations: 4 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1468, allocations: 43.91 kB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1472, allocations: 27.86 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.1477, allocations: 280.9 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.148, allocations: 0.7121 MB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.1481, allocations: 24.95 kB / 476.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1482, allocations: 11.44 kB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1482, allocations: 4 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of Templates: time 0.004035/0.1522, allocations: 1.312 MB / 477.7 MB, free: 5.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches