Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009215/0.0009215, allocations: 92.23 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 9.508 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 12 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002198/0.1037, allocations: 1.643 MB / 485.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1054, allocations: 1.029 MB / 486.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1055, allocations: 3.938 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1058, allocations: 43.83 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1061, allocations: 75.69 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1063, allocations: 75.86 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1065, allocations: 147.5 kB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1067, allocations: 21.56 kB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.1068, allocations: 51.72 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.1069, allocations: 43.7 kB / 486.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1069, allocations: 7.938 kB / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.107, allocations: 43.98 kB / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.1071, allocations: 23.86 kB / 486.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.1072, allocations: 77.36 kB / 487 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1073, allocations: 108 kB / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1073, allocations: 0 / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1073, allocations: 0 / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1074, allocations: 0 / 487.1 MB, free: 0.7266 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005724/0.1079, allocations: 464.6 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.108, allocations: 12.88 kB / 487.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.108, allocations: 12.84 kB / 487.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1083, allocations: 232.7 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1083, allocations: 4.375 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1083, allocations: 12.12 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.1086, allocations: 104.2 kB / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1086, allocations: 4 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1086, allocations: 4 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1086, allocations: 7.938 kB / 488 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1088, allocations: 51.22 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.1093, allocations: 0.5163 MB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1097, allocations: 82.66 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1098, allocations: 52.83 kB / 488.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1098, allocations: 0 / 488.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.11, allocations: 87.25 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.11, allocations: 0 / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003881/0.1104, allocations: 149.5 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1105, allocations: 55.34 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1107, allocations: 203 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1107, allocations: 29.7 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1108, allocations: 116 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1108, allocations: 27.64 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1108, allocations: 21.7 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.111, allocations: 330.8 kB / 489.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.1111, allocations: 32.11 kB / 489.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1112, allocations: 68.2 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1114, allocations: 104.2 kB / 489.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1114, allocations: 4 kB / 489.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002893/0.1117, allocations: 137.4 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1117, allocations: 4 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1117, allocations: 4.453 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1117, allocations: 8 kB / 490 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1118, allocations: 27.88 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1119, allocations: 3.984 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.1119, allocations: 19.84 kB / 490.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1119, allocations: 7.938 kB / 490.1 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001006/0.1121, allocations: 125.9 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1121, allocations: 23.78 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1121, allocations: 17.41 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1121, allocations: 3.938 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1122, allocations: 0 / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1122, allocations: 4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1123, allocations: 209.6 kB / 490.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1123, allocations: 0 / 490.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.1124, allocations: 15.94 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1124, allocations: 4 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1125, allocations: 3.938 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1125, allocations: 3.938 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1125, allocations: 0 / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1128, allocations: 192.8 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1129, allocations: 96.89 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.113, allocations: 3.984 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.113, allocations: 11.94 kB / 490.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1131, allocations: 3.984 kB / 490.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1131, allocations: 8 kB / 490.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1132, allocations: 144.4 kB / 490.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1132, allocations: 0 / 490.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1135, allocations: 24 kB / 490.9 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009074/0.1144, allocations: 404.2 kB / 491.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1146, allocations: 87.77 kB / 491.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1146, allocations: 0 / 491.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1147, allocations: 40.23 kB / 491.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.115, allocations: 41.31 kB / 491.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.1156, allocations: 341.9 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1158, allocations: 0.7087 MB / 492.6 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1159, allocations: 19.44 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1159, allocations: 0 / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004059/0.12, allocations: 2.179 MB / 494.7 MB, free: 8.805 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches