Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009104, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002768, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002057/0.1343, allocations: 1.446 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1359, allocations: 0.9863 MB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.136, allocations: 7.938 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1363, allocations: 39.89 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1366, allocations: 75.75 kB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1368, allocations: 63.8 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.137, allocations: 95.7 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1371, allocations: 19.98 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.1372, allocations: 39.78 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.1373, allocations: 31.73 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1373, allocations: 4 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1374, allocations: 43.97 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1375, allocations: 19.92 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.1376, allocations: 53.45 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1378, allocations: 111.9 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1378, allocations: 4 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1378, allocations: 0 / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1378, allocations: 0 / 486.1 MB, free: 1.098 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.0005805/0.1384, allocations: 407 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1384, allocations: 8.875 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1385, allocations: 8.844 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1388, allocations: 216.8 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1388, allocations: 4.375 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1388, allocations: 12.06 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.139, allocations: 53.67 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.139, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.139, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.139, allocations: 4 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.1391, allocations: 23.92 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1395, allocations: 288.8 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1397, allocations: 62.66 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.1398, allocations: 24.8 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1398, allocations: 3.984 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.14, allocations: 71.33 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.14, allocations: 0 / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.1406, allocations: 177.2 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1406, allocations: 55.39 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1408, allocations: 194.9 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1408, allocations: 25.7 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1409, allocations: 100.1 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1409, allocations: 23.7 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1409, allocations: 17.72 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1411, allocations: 326.8 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.1411, allocations: 23.98 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.1412, allocations: 37.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1413, allocations: 57.64 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1413, allocations: 0 / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1415, allocations: 101.5 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1415, allocations: 6.344 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1415, allocations: 7.969 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1416, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.1416, allocations: 15.98 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1417, allocations: 4.141 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1417, allocations: 7.938 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1417, allocations: 0 / 488.4 MB, free: 14.54 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.802e-05/0.1418, allocations: 132.6 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.1418, allocations: 7.906 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.1419, allocations: 17.41 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1419, allocations: 4 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1419, allocations: 3.938 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1419, allocations: 7.922 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1424, allocations: 395.6 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1424, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1424, allocations: 15.94 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1424, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1424, allocations: 15.95 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1424, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1424, allocations: 192 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1427, allocations: 196.3 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1427, allocations: 96.86 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1427, allocations: 7.922 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1428, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1429, allocations: 12 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1429, allocations: 7.984 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.143, allocations: 148.8 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 3.938 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1433, allocations: 23.98 kB / 489.5 MB, free: 13.35 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.001076/0.1444, allocations: 455.4 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1445, allocations: 51.97 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1446, allocations: 3.938 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.1446, allocations: 28 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.145, allocations: 34.2 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.1454, allocations: 250.3 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1457, allocations: 0.7121 MB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.1458, allocations: 17.17 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1458, allocations: 19.44 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1458, allocations: 0 / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00438/0.1502, allocations: 1.642 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches