Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009878/0.0009879, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1857/0.1857, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002458, allocations: 15.92 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1047, allocations: 63.55 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001884/0.1067, allocations: 1.338 MB / 485.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1083, allocations: 1.117 MB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.1083, allocations: 0 / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1086, allocations: 19.92 kB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1088, allocations: 75.75 kB / 486.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.109, allocations: 79.47 kB / 486.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1092, allocations: 71.83 kB / 486.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.1093, allocations: 12 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.1093, allocations: 31.78 kB / 486.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1095, allocations: 35.84 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1095, allocations: 4 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1096, allocations: 95.88 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.1097, allocations: 15.94 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.1098, allocations: 53.48 kB / 486.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1099, allocations: 103.8 kB / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1099, allocations: 0 / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1099, allocations: 0 / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1099, allocations: 0 / 486.8 MB, free: 1.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004219/0.1104, allocations: 403.5 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1104, allocations: 8.031 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1104, allocations: 8.844 kB / 487.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1106, allocations: 206.3 kB / 487.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1107, allocations: 4.375 kB / 487.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1107, allocations: 8.375 kB / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1109, allocations: 75.52 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1109, allocations: 4 kB / 487.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1109, allocations: 0 / 487.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1109, allocations: 0 / 487.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.111, allocations: 39.97 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1114, allocations: 296.7 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1115, allocations: 58.55 kB / 487.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1116, allocations: 20.98 kB / 487.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1116, allocations: 3.984 kB / 487.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1116, allocations: 30.56 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/0.1116, allocations: 0 / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006381/0.1123, allocations: 205.2 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1123, allocations: 81.11 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1125, allocations: 157.8 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1125, allocations: 25.7 kB / 488.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1126, allocations: 100.1 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1126, allocations: 27.56 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1126, allocations: 13.7 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.1127, allocations: 318.8 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.1128, allocations: 31.97 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.181e-05/0.1129, allocations: 41.7 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1131, allocations: 73.05 kB / 489 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1131, allocations: 0 / 489 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002127/0.1133, allocations: 113.6 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1133, allocations: 11.94 kB / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1134, allocations: 0 / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1134, allocations: 0 / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1135, allocations: 23.92 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1135, allocations: 4 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.1136, allocations: 7.938 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1136, allocations: 4 kB / 489.1 MB, free: 14.52 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 (8): * Single equations (assignments): 8 * 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.121e-05/0.1137, allocations: 117.8 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1137, allocations: 11.89 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.114, allocations: 126.3 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.114, allocations: 0 / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.114, allocations: 3.984 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.114, allocations: 3.938 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.1145, allocations: 402.5 kB / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1145, allocations: 0 / 489.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1145, allocations: 23.92 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1146, allocations: 3.938 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1146, allocations: 0 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1146, allocations: 384 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1146, allocations: 0 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1148, allocations: 207.6 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.1149, allocations: 93 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1149, allocations: 11.88 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.115, allocations: 8 kB / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1151, allocations: 11.98 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1151, allocations: 4 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1152, allocations: 121.2 kB / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1152, allocations: 0 / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1155, allocations: 36 kB / 490.3 MB, free: 13.25 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 (8): * Single equations (assignments): 8 * 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.001114/0.1166, allocations: 0.4901 MB / 490.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1168, allocations: 71.95 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1169, allocations: 4 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.117, allocations: 35.92 kB / 490.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1173, allocations: 19.98 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1178, allocations: 250.8 kB / 491.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1181, allocations: 0.6926 MB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.1181, allocations: 19.42 kB / 491.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1181, allocations: 0 / 491.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.00376/0.1219, allocations: 2.073 MB / 493.9 MB, free: 9.703 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches