Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 110.3 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.00202, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2036/0.2036, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.16 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002973/0.1116, allocations: 1.653 MB / 481.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1133, allocations: 1.155 MB / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1133, allocations: 0 / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1136, allocations: 23.91 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1138, allocations: 67.77 kB / 482.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1141, allocations: 103.1 kB / 482.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1142, allocations: 67.83 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1143, allocations: 11.94 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.1144, allocations: 23.92 kB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1145, allocations: 35.83 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1146, allocations: 0 / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1147, allocations: 95.88 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.1148, allocations: 11.94 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.1148, allocations: 19.86 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.115, allocations: 103.8 kB / 483.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.115, allocations: 4 kB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.115, allocations: 0 / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.1151, allocations: 4 kB / 483.3 MB, free: 2.309 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.000492/0.1155, allocations: 399.5 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1156, allocations: 8.875 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.1156, allocations: 4.938 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1158, allocations: 196 kB / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1159, allocations: 4.375 kB / 483.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1159, allocations: 4.312 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.116, allocations: 71.52 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1161, allocations: 3.938 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1161, allocations: 4 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1161, allocations: 0 / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.1162, allocations: 19.98 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1166, allocations: 288.8 kB / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.1168, allocations: 50.55 kB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.1169, allocations: 12.86 kB / 484.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1169, allocations: 4 kB / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1169, allocations: 30.66 kB / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1169, allocations: 0 / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005836/0.1175, allocations: 157.2 kB / 484.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.1176, allocations: 85.09 kB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1178, allocations: 144 kB / 484.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1178, allocations: 25.7 kB / 484.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.1179, allocations: 88.14 kB / 484.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1179, allocations: 19.7 kB / 484.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1179, allocations: 17.72 kB / 484.9 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1181, allocations: 330.8 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.1182, allocations: 23.92 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.1182, allocations: 29.89 kB / 485.3 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1184, allocations: 60.81 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1184, allocations: 0 / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000215/0.1186, allocations: 81.7 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1186, allocations: 8 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1187, allocations: 0 / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1187, allocations: 0 / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.1187, allocations: 15.92 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1188, allocations: 4 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1188, allocations: 3.984 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1188, allocations: 7.938 kB / 485.5 MB, free: 15.91 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.288e-05/0.1189, allocations: 117.8 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.119, allocations: 7.906 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.1192, allocations: 93.95 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1192, allocations: 4 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1192, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1192, allocations: 3.938 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.1197, allocations: 374.3 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1197, allocations: 288 / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.1198, allocations: 12 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1198, allocations: 3.984 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1198, allocations: 4.125 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1198, allocations: 7.938 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1198, allocations: 0 / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1201, allocations: 195.3 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1201, allocations: 81.11 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1202, allocations: 0 / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.1202, allocations: 7.938 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.1203, allocations: 3.984 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1203, allocations: 8 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.1204, allocations: 107.2 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1204, allocations: 0 / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1207, allocations: 44 kB / 486.5 MB, free: 14.75 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.001117/0.1218, allocations: 488.3 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1221, allocations: 51.91 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1221, allocations: 0 / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.1222, allocations: 35.97 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1225, allocations: 14.33 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.123, allocations: 220.8 kB / 487.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1233, allocations: 0.6926 MB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.1234, allocations: 19.42 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1234, allocations: 4 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003846/0.1272, allocations: 1.959 MB / 490 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches