Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001155/0.001155, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.349/1.349, allocations: 222.9 MB / 242.5 MB, free: 15.37 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.2141/0.2141, allocations: 44.18 MB / 336.8 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.27 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003731/0.1214, allocations: 1.761 MB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.123, allocations: 0.8653 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1232, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.1236, allocations: 79.83 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1238, allocations: 67.78 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1242, allocations: 99.77 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1244, allocations: 99.67 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1245, allocations: 16.23 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1247, allocations: 43.78 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1248, allocations: 59.81 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1248, allocations: 3.938 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1249, allocations: 35.98 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.125, allocations: 27.91 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1251, allocations: 31.73 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1253, allocations: 92.05 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.1253, allocations: 3.984 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1253, allocations: 0 / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1253, allocations: 0 / 472.5 MB, free: 11.5 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.0006005/0.1259, allocations: 419 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.126, allocations: 12.02 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.126, allocations: 8.844 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1263, allocations: 212.5 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1263, allocations: 4.375 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1263, allocations: 8.109 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1265, allocations: 53.67 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1265, allocations: 0 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1265, allocations: 4 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1266, allocations: 7.938 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.1266, allocations: 15.98 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1271, allocations: 288.8 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1273, allocations: 58.67 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1273, allocations: 16.86 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1274, allocations: 7.984 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.1276, allocations: 71.33 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1276, allocations: 0 / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.1282, allocations: 173.4 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1283, allocations: 63.34 kB / 473.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1285, allocations: 215.5 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1285, allocations: 33.64 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1286, allocations: 100.1 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1286, allocations: 27.64 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1287, allocations: 21.72 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1289, allocations: 334.8 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1289, allocations: 16 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.129, allocations: 33.83 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1291, allocations: 73.64 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1292, allocations: 0 / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1293, allocations: 93.58 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1294, allocations: 8 kB / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1294, allocations: 0 / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1294, allocations: 0 / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.1295, allocations: 19.92 kB / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1295, allocations: 4 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.1296, allocations: 11.97 kB / 474.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1296, allocations: 4 kB / 474.8 MB, free: 8.895 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 0.0001209/0.1297, allocations: 129.8 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1298, allocations: 11.81 kB / 475 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1298, allocations: 21.53 kB / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1298, allocations: 4 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1298, allocations: 0 / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1299, allocations: 3.938 kB / 475 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.1303, allocations: 399.3 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1304, allocations: 0 / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.1304, allocations: 15.92 kB / 475.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1304, allocations: 0 / 475.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1304, allocations: 7.938 kB / 475.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1304, allocations: 0 / 475.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1304, allocations: 3.938 kB / 475.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1307, allocations: 204.2 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1308, allocations: 85.02 kB / 475.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.1308, allocations: 11.92 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1309, allocations: 0 / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1309, allocations: 8 kB / 475.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.131, allocations: 7.984 kB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1311, allocations: 155.4 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1311, allocations: 4 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1314, allocations: 23.94 kB / 475.9 MB, free: 7.715 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.001209/0.1326, allocations: 476.2 kB / 476.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1329, allocations: 59.91 kB / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1329, allocations: 0 / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.133, allocations: 35.92 kB / 476.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1333, allocations: 21.81 kB / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.1339, allocations: 298.5 kB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1342, allocations: 0.7121 MB / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1342, allocations: 15.44 kB / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1343, allocations: 0 / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Templates: time 0.004342/0.1386, allocations: 1.947 MB / 479.4 MB, free: 4.297 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches