Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 205.8 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 80.17 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1037, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003256/0.107, allocations: 1.653 MB / 481.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1089, allocations: 1.148 MB / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.109, allocations: 0 / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1093, allocations: 31.84 kB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1096, allocations: 59.84 kB / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1099, allocations: 99.56 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.11, allocations: 63.83 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.1101, allocations: 15.98 kB / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.1102, allocations: 27.86 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1103, allocations: 31.84 kB / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1104, allocations: 0 / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1105, allocations: 95.88 kB / 483.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.1106, allocations: 7.984 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.1106, allocations: 23.81 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1108, allocations: 103.9 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1109, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1109, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1109, allocations: 4 kB / 483.3 MB, free: 2.367 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.0004888/0.1114, allocations: 399.4 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1114, allocations: 8.875 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1115, allocations: 8.922 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1117, allocations: 204.1 kB / 483.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1117, allocations: 4.359 kB / 483.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1117, allocations: 384 / 483.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1119, allocations: 71.53 kB / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1119, allocations: 0 / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1119, allocations: 0 / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1119, allocations: 3.938 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.112, allocations: 23.97 kB / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1124, allocations: 284.9 kB / 484.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1126, allocations: 50.56 kB / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.1127, allocations: 20.88 kB / 484.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1127, allocations: 4 kB / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1127, allocations: 30.56 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1128, allocations: 3.938 kB / 484.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005855/0.1133, allocations: 153.2 kB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1134, allocations: 85.11 kB / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1136, allocations: 144.2 kB / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1136, allocations: 29.64 kB / 484.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1137, allocations: 96.12 kB / 484.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1137, allocations: 11.72 kB / 484.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1137, allocations: 17.72 kB / 484.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1138, allocations: 330.8 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.1139, allocations: 19.98 kB / 485.3 MB, free: 184 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.114, allocations: 37.69 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1142, allocations: 48.83 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1142, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002115/0.1144, allocations: 93.62 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1144, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1144, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1144, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.1145, allocations: 15.98 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1145, allocations: 0 / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1146, allocations: 4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1146, allocations: 3.938 kB / 485.5 MB, free: 15.96 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 (5): * Single equations (assignments): 5 * 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 8.865e-05/0.1147, allocations: 117.8 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1147, allocations: 7.906 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.115, allocations: 101.9 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.115, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.115, allocations: 320 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.115, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.1154, allocations: 374.4 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1155, allocations: 0 / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.1155, allocations: 19.92 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1155, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1155, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1156, allocations: 3.938 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1156, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1158, allocations: 187.4 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1159, allocations: 85.33 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1159, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.116, allocations: 11.92 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.116, allocations: 3.984 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.116, allocations: 4 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.595e-05/0.1161, allocations: 111.2 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1161, allocations: 0 / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1164, allocations: 39.98 kB / 486.5 MB, free: 14.81 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 (5): * Single equations (assignments): 5 * 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.001078/0.1175, allocations: 0.4951 MB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1177, allocations: 47.95 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1177, allocations: 0 / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.1178, allocations: 27.98 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1182, allocations: 15.98 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.1186, allocations: 221.1 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1189, allocations: 0.6926 MB / 488 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.1189, allocations: 19.42 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1189, allocations: 0 / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Templates: time 0.003841/0.1228, allocations: 1.949 MB / 490 MB, free: 11.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches