Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001092, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1096, allocations: 62.44 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003037/0.1126, allocations: 1.599 MB / 483 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1143, allocations: 1.163 MB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1144, allocations: 4 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1146, allocations: 19.84 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.115, allocations: 79.62 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1152, allocations: 90.83 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1154, allocations: 63.89 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.1155, allocations: 12 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.1155, allocations: 35.78 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1157, allocations: 35.84 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1157, allocations: 4 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1158, allocations: 95.94 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1159, allocations: 19.91 kB / 484.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.1159, allocations: 19.81 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1162, allocations: 135.7 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1162, allocations: 0 / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1162, allocations: 4 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1162, allocations: 0 / 484.8 MB, free: 1.164 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.0004693/0.1167, allocations: 407.1 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1167, allocations: 8.031 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1167, allocations: 4.938 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.117, allocations: 198 kB / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.117, allocations: 384 / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.117, allocations: 8.375 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1172, allocations: 71.52 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1172, allocations: 0 / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1172, allocations: 3.984 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1172, allocations: 0 / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.1173, allocations: 23.98 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.1177, allocations: 280.8 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1179, allocations: 42.56 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.118, allocations: 20.94 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.118, allocations: 0 / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.118, allocations: 34.56 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.1181, allocations: 0 / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000539/0.1186, allocations: 149.2 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1187, allocations: 77.11 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1188, allocations: 148.2 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1189, allocations: 29.64 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1189, allocations: 92.14 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1189, allocations: 15.72 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.119, allocations: 25.7 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1191, allocations: 322.7 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.1192, allocations: 19.98 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.1193, allocations: 37.75 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1194, allocations: 44.84 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1194, allocations: 0 / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001648/0.1196, allocations: 81.69 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1196, allocations: 4 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1196, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1196, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.1197, allocations: 19.92 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1197, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.1197, allocations: 4 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1198, allocations: 7.938 kB / 486.9 MB, free: 14.79 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.107e-05/0.1199, allocations: 117.8 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1199, allocations: 11.89 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.1201, allocations: 85.97 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1201, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1201, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1202, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1206, allocations: 358.3 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1206, allocations: 4 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.1206, allocations: 12.3 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1206, allocations: 4 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1207, allocations: 0 / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1207, allocations: 7.938 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1207, allocations: 0 / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1209, allocations: 183.4 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.1209, allocations: 85.11 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.121, allocations: 3.938 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.121, allocations: 11.92 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1211, allocations: 0 / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1211, allocations: 4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.1212, allocations: 111.2 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1212, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1215, allocations: 32 kB / 488 MB, free: 13.67 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.00105/0.1225, allocations: 0.4987 MB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1227, allocations: 47.91 kB / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1227, allocations: 0 / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.1228, allocations: 23.98 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1231, allocations: 11.98 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.1235, allocations: 177.3 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1238, allocations: 0.6885 MB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.1239, allocations: 11.97 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.1239, allocations: 19.42 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1239, allocations: 0 / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004225/0.1282, allocations: 1.744 MB / 491.2 MB, free: 10.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches