Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001255/0.001255, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.361/1.361, allocations: 222.9 MB / 242.2 MB, free: 15.22 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 / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 66.42 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1316, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003232/0.1349, allocations: 1.703 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1363, allocations: 0.8808 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1364, allocations: 4 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1367, allocations: 47.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.137, allocations: 55.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1373, allocations: 115.6 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1375, allocations: 95.69 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1376, allocations: 12.23 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.1377, allocations: 43.8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.1378, allocations: 31.83 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1378, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.1379, allocations: 39.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.138, allocations: 19.92 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.138, allocations: 51.55 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1382, allocations: 131.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1382, allocations: 4 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1383, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1383, allocations: 0 / 472.5 MB, free: 11.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005756/0.1388, allocations: 438.7 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1389, allocations: 12.03 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1389, allocations: 12.75 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1392, allocations: 220 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1392, allocations: 384 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1392, allocations: 8.125 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1394, allocations: 61.61 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1394, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1394, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1394, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1395, allocations: 23.98 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1398, allocations: 288.9 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.14, allocations: 66.61 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1401, allocations: 16.86 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1401, allocations: 4 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1403, allocations: 63.39 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1403, allocations: 0 / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.1409, allocations: 185 kB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1409, allocations: 59.41 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1411, allocations: 262.9 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1412, allocations: 25.7 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.1412, allocations: 112.1 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1413, allocations: 27.69 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1413, allocations: 25.72 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1414, allocations: 326.8 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.1415, allocations: 27.98 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.1416, allocations: 37.64 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1417, allocations: 61.64 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1417, allocations: 384 / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.1419, allocations: 101.4 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1419, allocations: 8 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1419, allocations: 224 / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1419, allocations: 4 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.142, allocations: 23.92 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.142, allocations: 4 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1421, allocations: 3.938 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.1421, allocations: 8 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.791e-05/0.1422, allocations: 137.7 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1422, allocations: 15.8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1423, allocations: 21.41 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1423, allocations: 8 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1423, allocations: 0 / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1423, allocations: 3.938 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.1427, allocations: 399.3 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1427, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.1428, allocations: 8 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1428, allocations: 0 / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1428, allocations: 15.92 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1428, allocations: 4.031 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1428, allocations: 0 / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.143, allocations: 200.1 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1431, allocations: 88.92 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1431, allocations: 11.94 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1432, allocations: 3.984 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1432, allocations: 8 kB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1432, allocations: 4 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1434, allocations: 204.2 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1434, allocations: 0 / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1437, allocations: 24 kB / 476.1 MB, free: 7.191 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000984/0.1446, allocations: 473.2 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1449, allocations: 67.89 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1449, allocations: 0 / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.145, allocations: 31.92 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1453, allocations: 27.98 kB / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.1458, allocations: 287.8 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1461, allocations: 0.7197 MB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.1461, allocations: 12.88 kB / 477.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1462, allocations: 15.44 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1462, allocations: 0 / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of Templates: time 0.004501/0.1507, allocations: 1.736 MB / 479.4 MB, free: 3.98 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches