Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.09 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 80.42 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 62.43 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003139/0.1094, allocations: 1.728 MB / 482.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1111, allocations: 1.033 MB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.1112, allocations: 0 / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1114, allocations: 47.75 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.1118, allocations: 95.61 kB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.112, allocations: 75.67 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1122, allocations: 103.7 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1123, allocations: 16 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.1124, allocations: 43.78 kB / 483.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.1125, allocations: 35.78 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1125, allocations: 7.938 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1127, allocations: 43.97 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1127, allocations: 23.92 kB / 483.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.1128, allocations: 35.69 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.113, allocations: 127.9 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.113, allocations: 4 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.113, allocations: 0 / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.113, allocations: 0 / 484.1 MB, free: 1.848 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.000529/0.1136, allocations: 430.8 kB / 484.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1136, allocations: 8.031 kB / 484.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1137, allocations: 12.84 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1139, allocations: 225.5 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1139, allocations: 384 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1139, allocations: 8.125 kB / 484.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1141, allocations: 57.67 kB / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1141, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1141, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1141, allocations: 0 / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.1142, allocations: 19.98 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1146, allocations: 300.8 kB / 485.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1148, allocations: 54.69 kB / 485.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1148, allocations: 20.84 kB / 485.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1149, allocations: 7.938 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1151, allocations: 71.23 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1151, allocations: 0 / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00053/0.1156, allocations: 185.5 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1157, allocations: 55.34 kB / 485.5 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1159, allocations: 234.2 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1159, allocations: 25.7 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.116, allocations: 108.1 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.116, allocations: 27.64 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1161, allocations: 25.72 kB / 485.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1162, allocations: 326.8 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.1163, allocations: 28.05 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.1163, allocations: 37.7 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1165, allocations: 61.58 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1165, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.1167, allocations: 101.5 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1167, allocations: 6.5 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1167, allocations: 8.031 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1167, allocations: 0 / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.1168, allocations: 19.92 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1168, allocations: 0 / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1169, allocations: 11.84 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1169, allocations: 8 kB / 486.5 MB, free: 15.18 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 0.0001025/0.117, allocations: 125.8 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.117, allocations: 11.89 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1171, allocations: 25.39 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1171, allocations: 4 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1171, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1171, allocations: 3.938 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1175, allocations: 403.2 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1175, allocations: 0 / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1176, allocations: 8 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1176, allocations: 0 / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1176, allocations: 7.938 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1176, allocations: 7.969 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1176, allocations: 0 / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1178, allocations: 200.7 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1179, allocations: 92.91 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1179, allocations: 15.88 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.118, allocations: 0 / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1181, allocations: 11.98 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1181, allocations: 4 kB / 487.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1182, allocations: 172.4 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1182, allocations: 0 / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1185, allocations: 31.98 kB / 487.6 MB, free: 13.96 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.001022/0.1195, allocations: 463.1 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1197, allocations: 63.91 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1197, allocations: 0 / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.1198, allocations: 27.98 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1202, allocations: 23.98 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.1207, allocations: 297.3 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.121, allocations: 0.7157 MB / 489.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.121, allocations: 19.42 kB / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.121, allocations: 0 / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.003678/0.1247, allocations: 2.015 MB / 491.3 MB, free: 10.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches