Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.1 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.12 MB / 344.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003099/0.003099, allocations: 81.16 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1204, allocations: 62.46 MB / 480.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003196/0.1237, allocations: 1.789 MB / 482 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1254, allocations: 1.013 MB / 483 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.1255, allocations: 0 / 483 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1257, allocations: 43.83 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.126, allocations: 75.75 kB / 483.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1262, allocations: 63.88 kB / 483.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1264, allocations: 111.6 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.1265, allocations: 15.98 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1266, allocations: 39.8 kB / 483.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.1267, allocations: 35.78 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1267, allocations: 4 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.1268, allocations: 47.91 kB / 483.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1269, allocations: 19.92 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.1269, allocations: 35.75 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1271, allocations: 96.09 kB / 483.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1271, allocations: 4 kB / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1271, allocations: 0 / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1271, allocations: 0 / 483.6 MB, free: 2.121 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.0005751/0.1277, allocations: 421.1 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1277, allocations: 8.031 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.1278, allocations: 12.84 kB / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1281, allocations: 219.9 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1281, allocations: 384 / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1281, allocations: 4.125 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1283, allocations: 65.61 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1283, allocations: 0 / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1283, allocations: 0 / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1283, allocations: 0 / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.1284, allocations: 23.98 kB / 484.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1288, allocations: 284.9 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.129, allocations: 62.62 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.129, allocations: 20.84 kB / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1291, allocations: 4 kB / 484.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1293, allocations: 63.39 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1293, allocations: 0 / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.1298, allocations: 185.3 kB / 485 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1299, allocations: 55.41 kB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1301, allocations: 202.9 kB / 485.2 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1301, allocations: 33.7 kB / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.1302, allocations: 100.1 kB / 485.3 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1303, allocations: 23.7 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1303, allocations: 29.66 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1305, allocations: 326.8 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.1306, allocations: 24.05 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.1306, allocations: 41.7 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1308, allocations: 53.7 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1308, allocations: 3.938 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.131, allocations: 105.4 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.131, allocations: 4 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.131, allocations: 4.031 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.131, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.1311, allocations: 19.98 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1311, allocations: 3.938 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1312, allocations: 7.938 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1312, allocations: 0 / 486 MB, free: 15.52 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.0001137/0.1313, allocations: 133.8 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1313, allocations: 11.89 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.1314, allocations: 25.39 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1314, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1314, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1314, allocations: 4.125 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.1319, allocations: 395.4 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1319, allocations: 3.938 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.132, allocations: 15.98 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.132, allocations: 4 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.132, allocations: 3.969 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.132, allocations: 4 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.132, allocations: 80 / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1323, allocations: 212.2 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.1323, allocations: 84.92 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1324, allocations: 11.92 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1324, allocations: 0 / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1325, allocations: 8 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1325, allocations: 11.98 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1326, allocations: 156.3 kB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1326, allocations: 0 / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1329, allocations: 24 kB / 487.1 MB, free: 14.33 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.001614/0.1345, allocations: 458.3 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.1347, allocations: 63.91 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1347, allocations: 0 / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.1348, allocations: 35.92 kB / 487.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1352, allocations: 19.98 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.1357, allocations: 293 kB / 487.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1361, allocations: 0.7158 MB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.1361, allocations: 15.44 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1361, allocations: 0 / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.004007/0.1401, allocations: 1.972 MB / 490.6 MB, free: 10.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches