Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007685, allocations: 95.45 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.000942/0.0009421, allocations: 207.6 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, 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.1923/0.1923, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1016, allocations: 63.58 MB / 483.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001972/0.1036, allocations: 1.435 MB / 485.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1052, allocations: 0.9941 MB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.1053, allocations: 7.938 kB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1056, allocations: 27.91 kB / 486.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1059, allocations: 79.73 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.1061, allocations: 63.81 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1063, allocations: 103.7 kB / 486.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.1064, allocations: 8 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.1064, allocations: 39.78 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.1065, allocations: 35.78 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1066, allocations: 4 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.961e-05/0.1067, allocations: 39.98 kB / 486.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.1067, allocations: 23.92 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1068, allocations: 61.44 kB / 486.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1069, allocations: 84.09 kB / 486.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.107, allocations: 0 / 486.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.107, allocations: 4 kB / 486.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.107, allocations: 0 / 486.8 MB, free: 1.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005012/0.1075, allocations: 406.9 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1075, allocations: 8.875 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1076, allocations: 12.84 kB / 487.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1078, allocations: 212.8 kB / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1078, allocations: 384 / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1079, allocations: 8.125 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.108, allocations: 57.67 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.108, allocations: 0 / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.108, allocations: 0 / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.108, allocations: 0 / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.1081, allocations: 23.92 kB / 487.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1085, allocations: 288.8 kB / 487.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1087, allocations: 58.67 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.1087, allocations: 16.86 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1088, allocations: 4 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1089, allocations: 71.31 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1089, allocations: 0 / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005362/0.1095, allocations: 177.5 kB / 488.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1095, allocations: 59.41 kB / 488.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1097, allocations: 186.9 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1097, allocations: 33.64 kB / 488.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1098, allocations: 108.1 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1098, allocations: 23.7 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.1099, allocations: 13.72 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.11, allocations: 330.7 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.1101, allocations: 23.98 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1101, allocations: 37.7 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1103, allocations: 57.66 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1103, allocations: 0 / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1105, allocations: 101.5 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1105, allocations: 4 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1105, allocations: 8 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1105, allocations: 32 / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.1106, allocations: 23.92 kB / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1106, allocations: 0 / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1107, allocations: 7.938 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1107, allocations: 4 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.706e-05/0.1108, allocations: 125.8 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1108, allocations: 11.91 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1109, allocations: 13.41 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1109, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1109, allocations: 7.984 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1109, allocations: 3.938 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.1113, allocations: 399.2 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1113, allocations: 0 / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.1114, allocations: 8 kB / 489.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1114, allocations: 3.938 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1114, allocations: 7.938 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1114, allocations: 3.984 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1114, allocations: 4.031 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1116, allocations: 200.3 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.1117, allocations: 92.92 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1117, allocations: 7.938 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1118, allocations: 3.984 kB / 489.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1118, allocations: 4 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1119, allocations: 12 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.112, allocations: 148.9 kB / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.112, allocations: 0 / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1123, allocations: 31.92 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001002/0.1133, allocations: 462 kB / 490.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1135, allocations: 51.98 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1135, allocations: 0 / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.1135, allocations: 31.92 kB / 490.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1139, allocations: 39.53 kB / 490.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.1144, allocations: 280 kB / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1146, allocations: 0.7082 MB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1147, allocations: 23.42 kB / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1147, allocations: 0 / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00361/0.1183, allocations: 1.916 MB / 493.6 MB, free: 9.996 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches