Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 93.88 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.00152/0.00152, allocations: 202.9 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.458/1.458, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002481/0.1223, allocations: 1.643 MB / 484.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1241, allocations: 1.025 MB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1243, allocations: 4 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1247, allocations: 39.77 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1251, allocations: 79.73 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1255, allocations: 79.81 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.1258, allocations: 143.5 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1259, allocations: 17.56 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1261, allocations: 55.66 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1262, allocations: 43.7 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1262, allocations: 8 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1264, allocations: 47.92 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.1264, allocations: 19.91 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.1265, allocations: 73.38 kB / 486.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1268, allocations: 151.7 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1268, allocations: 0 / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1268, allocations: 0 / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1268, allocations: 0 / 486.5 MB, free: 0.6992 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006059/0.1274, allocations: 464.6 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1275, allocations: 8.875 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.1275, allocations: 16.84 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1278, allocations: 224.8 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1279, allocations: 12.3 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1279, allocations: 12.12 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1282, allocations: 104.2 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1282, allocations: 0 / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.1283, allocations: 7.984 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1283, allocations: 7.938 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1284, allocations: 55.91 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.1291, allocations: 0.5164 MB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.1294, allocations: 82.66 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.1295, allocations: 48.84 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1295, allocations: 0 / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1297, allocations: 83.31 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1298, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003925/0.1302, allocations: 149.8 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1302, allocations: 59.33 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1304, allocations: 202.2 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1304, allocations: 33.64 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.1305, allocations: 112 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1306, allocations: 27.64 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1306, allocations: 17.72 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1307, allocations: 334.8 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.1308, allocations: 31.98 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.1309, allocations: 63.52 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1311, allocations: 104.2 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1311, allocations: 3.938 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.1314, allocations: 145.3 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1315, allocations: 4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1315, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1315, allocations: 4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1316, allocations: 31.92 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1316, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.1317, allocations: 19.83 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1317, allocations: 8.125 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.872e-05/0.1318, allocations: 128 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1318, allocations: 15.81 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.1319, allocations: 21.39 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1319, allocations: 3.938 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1319, allocations: 0 / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1319, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1321, allocations: 209.6 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1321, allocations: 0 / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.1322, allocations: 23.92 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1322, allocations: 96 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.1323, allocations: 3.938 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1323, allocations: 3.938 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1323, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.1327, allocations: 192.8 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1327, allocations: 96.89 kB / 490.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1328, allocations: 4 kB / 490.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1328, allocations: 19.86 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1329, allocations: 8 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1329, allocations: 3.984 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.133, allocations: 144.4 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.133, allocations: 0 / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1333, allocations: 28.06 kB / 490.3 MB, free: 12.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009234/0.1342, allocations: 395.2 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1345, allocations: 79.89 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1345, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1346, allocations: 48.17 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1349, allocations: 39.84 kB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.1355, allocations: 300.3 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1358, allocations: 0.7204 MB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.1359, allocations: 29.41 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1359, allocations: 15.44 kB / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1359, allocations: 0 / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.004875/0.1408, allocations: 1.765 MB / 493.7 MB, free: 9.215 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches