Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.12 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 76.59 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1113, allocations: 62.46 MB / 480.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003293/0.1147, allocations: 1.616 MB / 482.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1157, allocations: 0.5689 MB / 483 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1158, allocations: 0 / 483 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.1164, allocations: 459.1 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.1169, allocations: 287.3 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1174, allocations: 183 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.1177, allocations: 167.7 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1178, allocations: 15.94 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1179, allocations: 115.8 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1182, allocations: 207.6 kB / 484.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1182, allocations: 4 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.1183, allocations: 23.98 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1184, allocations: 87.62 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.1185, allocations: 103 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1188, allocations: 247 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1188, allocations: 4 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1188, allocations: 0 / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1188, allocations: 4 kB / 484.8 MB, free: 1.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008101/0.1197, allocations: 0.6416 MB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1197, allocations: 12.03 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1198, allocations: 40.38 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.1201, allocations: 300.1 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-06/0.1201, allocations: 384 / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1201, allocations: 4.375 kB / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1203, allocations: 65.94 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1204, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1204, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1204, allocations: 4 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1205, allocations: 35.95 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1211, allocations: 392.8 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1212, allocations: 46.5 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.1213, allocations: 24.94 kB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1214, allocations: 0 / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1214, allocations: 34.5 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1214, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000366/0.1218, allocations: 133.1 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1218, allocations: 55.41 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.1228, allocations: 0.8613 MB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1228, allocations: 29.7 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.123, allocations: 212.1 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.123, allocations: 15.84 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.123, allocations: 13.72 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1232, allocations: 370.7 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.1233, allocations: 15.98 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.1234, allocations: 15.98 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1235, allocations: 49.09 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1236, allocations: 0 / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002221/0.1238, allocations: 117.1 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1238, allocations: 4 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1238, allocations: 0 / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1238, allocations: 3.938 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.1239, allocations: 15.92 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1239, allocations: 0 / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.124, allocations: 4 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.124, allocations: 0 / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0002133/0.1243, allocations: 221.7 kB / 488.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.1243, allocations: 43.44 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1246, allocations: 121 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1246, allocations: 0 / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1246, allocations: 0 / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1246, allocations: 4 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.125, allocations: 293.5 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.125, allocations: 0 / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.1251, allocations: 19.94 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1251, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1251, allocations: 3.984 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1251, allocations: 0 / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1251, allocations: 0 / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1254, allocations: 210.9 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.1255, allocations: 104.6 kB / 489.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1255, allocations: 8 kB / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1256, allocations: 0 / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.1256, allocations: 7.984 kB / 489.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1256, allocations: 0 / 489.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006672/0.1263, allocations: 0.6511 MB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1263, allocations: 3.938 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1266, allocations: 16 kB / 490 MB, free: 11.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001243/0.1278, allocations: 352.4 kB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.128, allocations: 47.94 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1281, allocations: 0 / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.1281, allocations: 27.98 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1286, allocations: 30.17 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1298, allocations: 0.8321 MB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.1303, allocations: 0.822 MB / 492.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1303, allocations: 15.44 kB / 492.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1303, allocations: 4 kB / 492.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of Templates: time 0.007084/0.1374, allocations: 3.567 MB / 495.7 MB, free: 6 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches