Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009171/0.0009172, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001203, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.5 MB, free: 11.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1864/0.1864, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 12 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.09986, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002407/0.1023, allocations: 1.536 MB / 485.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1042, allocations: 1.071 MB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1044, allocations: 0 / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.1049, allocations: 295.4 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.1054, allocations: 227.4 kB / 486.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1057, allocations: 91.78 kB / 486.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.106, allocations: 247.4 kB / 487.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.1061, allocations: 17.61 kB / 487.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1063, allocations: 123.5 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1065, allocations: 192 kB / 487.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1066, allocations: 0 / 487.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1067, allocations: 39.98 kB / 487.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1068, allocations: 140.4 kB / 487.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.107, allocations: 172.5 kB / 487.9 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1073, allocations: 271.8 kB / 488.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1073, allocations: 0 / 488.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1073, allocations: 0 / 488.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1073, allocations: 0 / 488.1 MB, free: 15.77 MB / 366.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.0008983/0.1083, allocations: 0.6766 MB / 488.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1083, allocations: 12.88 kB / 488.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.1084, allocations: 48.28 kB / 488.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.109, allocations: 443.9 kB / 489.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.109, allocations: 4.375 kB / 489.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.109, allocations: 8.125 kB / 489.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1092, allocations: 91.3 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1092, allocations: 4 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1093, allocations: 4 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1093, allocations: 0 / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1094, allocations: 27.97 kB / 489.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1098, allocations: 374.3 kB / 489.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1101, allocations: 109.2 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1102, allocations: 41.64 kB / 489.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1102, allocations: 4 kB / 489.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1104, allocations: 109 kB / 490.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.925e-06/0.1105, allocations: 4 kB / 490.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.1109, allocations: 200.8 kB / 490.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.111, allocations: 81.11 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.112, allocations: 1.022 MB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1121, allocations: 25.7 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1122, allocations: 240.1 kB / 491.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.1123, allocations: 31.64 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1123, allocations: 21.7 kB / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1125, allocations: 366.8 kB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.1126, allocations: 23.98 kB / 492 MB, free: 11.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.1127, allocations: 58.55 kB / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1128, allocations: 95.34 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1128, allocations: 0 / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002918/0.1131, allocations: 169.5 kB / 492.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1132, allocations: 11.94 kB / 492.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1132, allocations: 0 / 492.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1132, allocations: 64 / 492.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1133, allocations: 27.98 kB / 492.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1133, allocations: 3.984 kB / 492.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1134, allocations: 19.98 kB / 492.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1135, allocations: 4 kB / 492.4 MB, free: 11.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001999/0.1137, allocations: 217.7 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1137, allocations: 55.33 kB / 492.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.309e-05/0.1138, allocations: 64.08 kB / 492.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1138, allocations: 8 kB / 492.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1138, allocations: 0 / 492.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1138, allocations: 0 / 492.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.1141, allocations: 345.3 kB / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1142, allocations: 0 / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.1142, allocations: 8 kB / 493.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1142, allocations: 0 / 493.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1142, allocations: 0 / 493.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1142, allocations: 7.984 kB / 493.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1142, allocations: 0 / 493.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1146, allocations: 209.2 kB / 493.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1147, allocations: 140.4 kB / 493.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.1148, allocations: 8 kB / 493.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.1149, allocations: 7.938 kB / 493.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1149, allocations: 7.984 kB / 493.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1149, allocations: 4 kB / 493.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007593/0.1157, allocations: 0.7721 MB / 494.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1157, allocations: 0 / 494.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.116, allocations: 47.94 kB / 494.3 MB, free: 9.195 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009304/0.1169, allocations: 392.7 kB / 494.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1171, allocations: 87.83 kB / 494.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1172, allocations: 0 / 494.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1173, allocations: 40.05 kB / 494.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1177, allocations: 76.7 kB / 494.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.119, allocations: 0.9846 MB / 495.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1194, allocations: 0.843 MB / 496.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.1195, allocations: 35.42 kB / 496.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1195, allocations: 0 / 496.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of Templates: time 0.007945/0.1274, allocations: 4.967 MB / 0.49 GB, free: 1.844 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches