Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 105 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.09 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 83.7 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1164, allocations: 62.44 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003436/0.1199, allocations: 1.792 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1217, allocations: 1.01 MB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.1218, allocations: 0 / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.1222, allocations: 51.83 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1226, allocations: 75.73 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1228, allocations: 75.8 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.123, allocations: 99.7 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1231, allocations: 15.98 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1232, allocations: 43.78 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.1233, allocations: 35.8 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1234, allocations: 4 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1235, allocations: 43.92 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.1236, allocations: 35.83 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.1237, allocations: 39.69 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1239, allocations: 123.9 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1239, allocations: 0 / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1239, allocations: 0 / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1239, allocations: 0 / 482.9 MB, free: 2.148 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.0006686/0.1246, allocations: 434.8 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1247, allocations: 8.031 kB / 483.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1247, allocations: 12.84 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.125, allocations: 225.5 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.125, allocations: 384 / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.125, allocations: 8.125 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1252, allocations: 53.67 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1252, allocations: 0 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1252, allocations: 0 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1253, allocations: 8 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.1254, allocations: 19.98 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.1259, allocations: 296.8 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1261, allocations: 54.69 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1262, allocations: 24.84 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1262, allocations: 4 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1265, allocations: 71.23 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1265, allocations: 0 / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006038/0.1271, allocations: 173.2 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1271, allocations: 59.33 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1274, allocations: 234.2 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.1275, allocations: 37.7 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1275, allocations: 104.1 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1276, allocations: 27.64 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.1276, allocations: 21.72 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1279, allocations: 330.8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.1279, allocations: 19.98 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.128, allocations: 33.7 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1281, allocations: 61.66 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1281, allocations: 3.938 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1283, allocations: 97.95 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1284, allocations: 4.188 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1284, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1284, allocations: 3.938 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.1285, allocations: 31.91 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1285, allocations: 4.031 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1286, allocations: 11.84 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1286, allocations: 4 kB / 485.4 MB, free: 15.47 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 0.000114/0.1287, allocations: 129.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1287, allocations: 7.906 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.1288, allocations: 21.39 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1288, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1288, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1288, allocations: 3.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1293, allocations: 407.4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1293, allocations: 3.984 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1293, allocations: 8 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1293, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1294, allocations: 7.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1294, allocations: 80 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1294, allocations: 7.922 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1296, allocations: 204.3 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.1297, allocations: 92.91 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1297, allocations: 7.938 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1298, allocations: 0 / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1298, allocations: 11.98 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1298, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.13, allocations: 168.4 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.13, allocations: 4 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1303, allocations: 31.98 kB / 486.5 MB, free: 14.27 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.001132/0.1314, allocations: 455 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1318, allocations: 59.97 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1318, allocations: 3.938 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.1318, allocations: 24 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1322, allocations: 34.97 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.1328, allocations: 287.6 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1331, allocations: 0.7118 MB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.1331, allocations: 25.17 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1332, allocations: 15.44 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1332, allocations: 4 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.0046/0.1378, allocations: 1.725 MB / 489.8 MB, free: 11.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches