Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001579, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.5 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.12 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 85.58 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1098, allocations: 62.46 MB / 480.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003332/0.1132, allocations: 1.676 MB / 482.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.115, allocations: 1.021 MB / 483.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.1151, allocations: 0 / 483.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1154, allocations: 43.75 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1157, allocations: 107.5 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1159, allocations: 71.73 kB / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1161, allocations: 103.6 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.1162, allocations: 4.234 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.1163, allocations: 39.8 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.1164, allocations: 27.84 kB / 483.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1164, allocations: 4 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.1165, allocations: 35.98 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1166, allocations: 31.86 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.1166, allocations: 39.67 kB / 484 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1168, allocations: 119.8 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1168, allocations: 3.938 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1168, allocations: 0 / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1169, allocations: 0 / 484.1 MB, free: 1.914 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.0006035/0.1175, allocations: 434.8 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1175, allocations: 8.031 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1176, allocations: 16.75 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1178, allocations: 224.8 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1179, allocations: 384 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1179, allocations: 4.125 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.118, allocations: 53.67 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1181, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1181, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1181, allocations: 3.938 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.1182, allocations: 19.97 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.1184, allocations: 193.7 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1186, allocations: 54.62 kB / 485.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1186, allocations: 24.78 kB / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1187, allocations: 0 / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1189, allocations: 71.27 kB / 485.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.457e-06/0.1189, allocations: 7.938 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003179/0.1192, allocations: 97.48 kB / 485.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.1193, allocations: 59.41 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1196, allocations: 263 kB / 485.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1196, allocations: 33.69 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1197, allocations: 112.1 kB / 485.7 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1198, allocations: 3.906 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1198, allocations: 21.72 kB / 485.8 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.12, allocations: 330.9 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.1201, allocations: 15.94 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.1201, allocations: 29.64 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1202, allocations: 41.72 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1202, allocations: 0 / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.1204, allocations: 97.36 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1205, allocations: 8.031 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1205, allocations: 0 / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1205, allocations: 0 / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.1206, allocations: 12 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1206, allocations: 160 / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.1206, allocations: 11.83 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1207, allocations: 4 kB / 486.3 MB, free: 15.46 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.0001205/0.1208, allocations: 137.8 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1208, allocations: 7.906 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.1209, allocations: 24.98 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1209, allocations: 3.938 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1209, allocations: 3.984 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1209, allocations: 4 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1211, allocations: 201.8 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1211, allocations: 0 / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.1211, allocations: 8 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1211, allocations: 0 / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1211, allocations: 0 / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1211, allocations: 0 / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1212, allocations: 4 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1214, allocations: 109 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.1214, allocations: 88.92 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1215, allocations: 7.938 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.1215, allocations: 7.984 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.1216, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1216, allocations: 4 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1218, allocations: 212.3 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1218, allocations: 3.938 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.122, allocations: 20 kB / 487.1 MB, free: 14.54 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.001502/0.1235, allocations: 403.5 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1237, allocations: 43.98 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1237, allocations: 0 / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.1238, allocations: 23.92 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1241, allocations: 37.33 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.1247, allocations: 296.1 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.125, allocations: 0.7166 MB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1251, allocations: 19.44 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1251, allocations: 0 / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004153/0.1293, allocations: 1.875 MB / 490.5 MB, free: 11.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches