Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001526, allocations: 105.4 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.001809/0.001809, allocations: 188 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.15 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.2105/0.2105, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.97 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00292/0.1351, allocations: 1.579 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.1359, allocations: 423.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1359, allocations: 0 / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1362, allocations: 75.7 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1364, allocations: 63.8 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1367, allocations: 107.7 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1368, allocations: 67.89 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1369, allocations: 32.03 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.137, allocations: 31.91 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.1371, allocations: 51.83 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1371, allocations: 4 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.1372, allocations: 47.92 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1373, allocations: 23.91 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.1373, allocations: 23.81 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1375, allocations: 111.6 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1375, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1375, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1375, allocations: 0 / 473.3 MB, free: 11.04 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.0004558/0.138, allocations: 399 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.138, allocations: 8.031 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1381, allocations: 8.844 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1383, allocations: 200 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1383, allocations: 12.38 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1383, allocations: 4.375 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1384, allocations: 57.61 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1385, allocations: 7.906 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1385, allocations: 3.984 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1385, allocations: 0 / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1386, allocations: 23.98 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.139, allocations: 300.7 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.1391, allocations: 50.56 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.1391, allocations: 20.94 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1392, allocations: 0 / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1392, allocations: 30.56 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.315e-06/0.1392, allocations: 0 / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008039/0.14, allocations: 244.9 kB / 474.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.14, allocations: 51.41 kB / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1402, allocations: 210.1 kB / 474.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1402, allocations: 29.7 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.1403, allocations: 108 kB / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1404, allocations: 23.66 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1404, allocations: 25.78 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1406, allocations: 322.8 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1406, allocations: 31.97 kB / 475.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1407, allocations: 31.97 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1409, allocations: 69.06 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1409, allocations: 4 kB / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.1411, allocations: 117.4 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1411, allocations: 4 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1411, allocations: 7.938 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1412, allocations: 0 / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1413, allocations: 15.98 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1413, allocations: 3.938 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.1413, allocations: 7.984 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1413, allocations: 12 kB / 475.7 MB, free: 8.414 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.000113/0.1415, allocations: 121.8 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1415, allocations: 11.91 kB / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1418, allocations: 126.3 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1418, allocations: 4 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1418, allocations: 3.938 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1418, allocations: 0 / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.1423, allocations: 419.2 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1423, allocations: 4 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.1424, allocations: 23.92 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1424, allocations: 0 / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1424, allocations: 4 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1424, allocations: 3.938 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1424, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1427, allocations: 216.2 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.1428, allocations: 93.36 kB / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1428, allocations: 0 / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1429, allocations: 8 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1429, allocations: 7.984 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1429, allocations: 0 / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1431, allocations: 159.2 kB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1433, allocations: 20 kB / 476.9 MB, free: 7.102 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.001039/0.1444, allocations: 463.9 kB / 477.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1446, allocations: 79.86 kB / 477.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1446, allocations: 0 / 477.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.1447, allocations: 43.91 kB / 477.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.145, allocations: 30.77 kB / 477.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.1454, allocations: 259.1 kB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1457, allocations: 0.708 MB / 478.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.344e-05/0.1458, allocations: 20.64 kB / 478.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1458, allocations: 11.44 kB / 478.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1458, allocations: 0 / 478.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of Templates: time 0.5296/0.6754, allocations: 1.352 MB / 479.9 MB, free: 4.277 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches