Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 75.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002969/0.1224, allocations: 1.684 MB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1239, allocations: 1.005 MB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.124, allocations: 0 / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1243, allocations: 83.7 kB / 484.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1247, allocations: 119.6 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1249, allocations: 71.67 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1251, allocations: 111.7 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1252, allocations: 4.234 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.1253, allocations: 51.77 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.1254, allocations: 55.81 kB / 484.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.1254, allocations: 4 kB / 484.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.1255, allocations: 31.98 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1256, allocations: 27.86 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1256, allocations: 31.75 kB / 484.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1258, allocations: 115.6 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1258, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1259, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1259, allocations: 0 / 484.8 MB, free: 1.094 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005249/0.1264, allocations: 414.9 kB / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1264, allocations: 11.97 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.1265, allocations: 16.75 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1268, allocations: 220.1 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1268, allocations: 384 / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1268, allocations: 8.062 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1269, allocations: 49.67 kB / 485.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1269, allocations: 0 / 485.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.127, allocations: 3.938 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.127, allocations: 0 / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.127, allocations: 15.98 kB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1272, allocations: 185.7 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1274, allocations: 58.55 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1275, allocations: 24.78 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1275, allocations: 0 / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1277, allocations: 67.3 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1277, allocations: 8 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002504/0.1279, allocations: 89.58 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.128, allocations: 55.34 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1282, allocations: 224.3 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1282, allocations: 25.7 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.1283, allocations: 104.1 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1283, allocations: 19.75 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1283, allocations: 21.7 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1285, allocations: 326.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1285, allocations: 12 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/0.1286, allocations: 33.69 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.1287, allocations: 41.7 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1287, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001425/0.1288, allocations: 85.47 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1289, allocations: 8.031 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1289, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1289, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.129, allocations: 15.98 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.129, allocations: 320 / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.129, allocations: 15.84 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.129, allocations: 4 kB / 487 MB, free: 14.73 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 (7): * Single equations (assignments): 7 * 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.0001139/0.1292, allocations: 132.2 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.1292, allocations: 7.906 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1292, allocations: 21 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1292, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1292, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1292, allocations: 3.984 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1294, allocations: 197.5 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1294, allocations: 7.938 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.1294, allocations: 3.984 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1294, allocations: 0 / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1294, allocations: 4 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1295, allocations: 0 / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1295, allocations: 4 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1296, allocations: 112.8 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1297, allocations: 85.02 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1297, allocations: 4 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.1298, allocations: 4 kB / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1298, allocations: 3.984 kB / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1298, allocations: 4 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1299, allocations: 169.2 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.13, allocations: 0 / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.1302, allocations: 20 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008736/0.131, allocations: 393.3 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1312, allocations: 39.92 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1312, allocations: 0 / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.1313, allocations: 23.94 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1316, allocations: 42.45 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.132, allocations: 234.1 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1323, allocations: 0.7041 MB / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.1324, allocations: 8.547 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.1324, allocations: 15.44 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1324, allocations: 0 / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of Templates: time 0.003909/0.1363, allocations: 1.505 MB / 490.7 MB, free: 11.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches