Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009908/0.0009908, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002916, allocations: 11.98 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002133/0.1157, allocations: 1.396 MB / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1169, allocations: 0.5418 MB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.117, allocations: 0 / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.1172, allocations: 43.81 kB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1176, allocations: 71.81 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.118, allocations: 126.9 kB / 485.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1182, allocations: 75.77 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1184, allocations: 16.22 kB / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.1184, allocations: 35.78 kB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.1185, allocations: 31.84 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1186, allocations: 4 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1187, allocations: 51.97 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1188, allocations: 19.92 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.1189, allocations: 49.52 kB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1191, allocations: 107.7 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1191, allocations: 0 / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1191, allocations: 0 / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1192, allocations: 0 / 485.6 MB, free: 1.578 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005669/0.1197, allocations: 407.3 kB / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1198, allocations: 8.031 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1198, allocations: 16.84 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.12, allocations: 196.7 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1201, allocations: 384 / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1201, allocations: 7.938 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1203, allocations: 77.55 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1203, allocations: 0 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1203, allocations: 0 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1203, allocations: 0 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1205, allocations: 51.95 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1209, allocations: 300.7 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1212, allocations: 62.55 kB / 486.7 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.1213, allocations: 32.97 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1213, allocations: 4 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1213, allocations: 34.56 kB / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.1214, allocations: 0 / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001668/0.123, allocations: 489.1 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1231, allocations: 55.34 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1233, allocations: 174.5 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1233, allocations: 25.7 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1234, allocations: 104 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1234, allocations: 35.45 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1234, allocations: 17.72 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1236, allocations: 322.8 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1237, allocations: 55.95 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1239, allocations: 51.97 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1241, allocations: 112.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1242, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003445/0.1245, allocations: 165.4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1245, allocations: 4 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1245, allocations: 4.125 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1246, allocations: 8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1247, allocations: 31.98 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1247, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.1248, allocations: 11.98 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1248, allocations: 4 kB / 488.5 MB, free: 14.54 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 (11): * Single equations (assignments): 11 * 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.0001077/0.1249, allocations: 129.8 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.125, allocations: 7.906 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.1254, allocations: 190.1 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1254, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1254, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1254, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.1261, allocations: 495.8 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1261, allocations: 0 / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1262, allocations: 31.97 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1262, allocations: 8.062 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1263, allocations: 4 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1263, allocations: 0 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1263, allocations: 4 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.1267, allocations: 265.5 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.1268, allocations: 92.92 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1268, allocations: 7.922 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1269, allocations: 16 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.127, allocations: 11.98 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.127, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1271, allocations: 134.5 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1274, allocations: 28 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001092/0.1285, allocations: 447.6 kB / 490.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003736/0.1289, allocations: 131.8 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1289, allocations: 0 / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.129, allocations: 68.03 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1294, allocations: 23.48 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.1301, allocations: 314.9 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1305, allocations: 0.7043 MB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.695e-05/0.1306, allocations: 28.53 kB / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.1306, allocations: 11.44 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1306, allocations: 4 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004477/0.1351, allocations: 1.451 MB / 493 MB, free: 9.961 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches