Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2935/0.2935, allocations: 46.09 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 81.23 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1168, allocations: 62.46 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003241/0.1201, allocations: 1.777 MB / 481.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1224, allocations: 1.596 MB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1226, allocations: 0 / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1228, allocations: 31.91 kB / 483.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1232, allocations: 87.67 kB / 483.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1235, allocations: 63.88 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1236, allocations: 107.6 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1238, allocations: 19.98 kB / 483.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1239, allocations: 43.78 kB / 483.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1241, allocations: 47.77 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1241, allocations: 8 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1243, allocations: 107.9 kB / 484.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1244, allocations: 15.92 kB / 484.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.1245, allocations: 35.8 kB / 484.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.1248, allocations: 132 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1248, allocations: 0 / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1248, allocations: 0 / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1248, allocations: 0 / 484.2 MB, free: 1.539 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.0006659/0.1255, allocations: 423 kB / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1255, allocations: 12.03 kB / 484.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.1256, allocations: 8.844 kB / 484.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.126, allocations: 215.6 kB / 484.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.126, allocations: 11.94 kB / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1261, allocations: 3.938 kB / 484.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1263, allocations: 71.39 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1263, allocations: 0 / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1263, allocations: 3.984 kB / 485 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1263, allocations: 4 kB / 485 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1264, allocations: 23.92 kB / 485 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.1268, allocations: 280.9 kB / 485.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.127, allocations: 58.67 kB / 485.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1271, allocations: 20.86 kB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1271, allocations: 7.938 kB / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1273, allocations: 63.39 kB / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.1273, allocations: 0 / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005565/0.1279, allocations: 173.1 kB / 485.6 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.128, allocations: 85.05 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1282, allocations: 167.9 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1282, allocations: 25.7 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1283, allocations: 96.12 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1283, allocations: 27.64 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1283, allocations: 25.72 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1285, allocations: 322.8 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1285, allocations: 19.98 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.1286, allocations: 46.56 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1287, allocations: 57.64 kB / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1287, allocations: 0 / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.1289, allocations: 105.5 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.129, allocations: 4 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.129, allocations: 0 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.129, allocations: 8.062 kB / 486.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.1291, allocations: 15.98 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1291, allocations: 3.938 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.1292, allocations: 7.984 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1292, allocations: 384 / 486.6 MB, free: 14.94 MB / 366.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.873e-05/0.1293, allocations: 121.8 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1293, allocations: 11.81 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1294, allocations: 16.89 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.1294, allocations: 8 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1294, allocations: 19.75 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1294, allocations: 0 / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1299, allocations: 391.5 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1299, allocations: 0 / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1299, allocations: 15.88 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.13, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.13, allocations: 11.98 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.13, allocations: 4.031 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.13, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1302, allocations: 192.3 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.1303, allocations: 88.95 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1303, allocations: 4 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.1304, allocations: 7.984 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1305, allocations: 11.94 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1305, allocations: 4 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1306, allocations: 130.5 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.131, allocations: 44 kB / 487.6 MB, free: 13.77 MB / 366.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.001963/0.1329, allocations: 0.5404 MB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1332, allocations: 63.91 kB / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1332, allocations: 0 / 488.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.1332, allocations: 31.98 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1336, allocations: 23.92 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1341, allocations: 256.5 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1344, allocations: 0.7041 MB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1344, allocations: 23.36 kB / 489.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1344, allocations: 4 kB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004764/0.1392, allocations: 2.399 MB / 491.7 MB, free: 9.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches