Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008739, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 246.8 MB, free: 9.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1818/0.1818, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002334, allocations: 12 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09081, allocations: 63.57 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001809/0.09266, allocations: 1.532 MB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.09421, allocations: 1.067 MB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.09429, allocations: 7.938 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.09475, allocations: 303.4 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.09513, allocations: 219.4 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.09536, allocations: 91.78 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.09565, allocations: 251.4 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.09571, allocations: 9.688 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.09586, allocations: 115.5 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.09607, allocations: 195.9 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.0961, allocations: 4 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.0962, allocations: 39.98 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.09634, allocations: 140.5 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.09649, allocations: 172.5 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.09683, allocations: 354.8 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09684, allocations: 0 / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09685, allocations: 0 / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09686, allocations: 0 / 487.5 MB, free: 15.64 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.0007786/0.09764, allocations: 0.6689 MB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.09768, allocations: 8.875 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.09776, allocations: 52.28 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.09833, allocations: 447.8 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.09835, allocations: 4.375 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.09837, allocations: 8.125 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.09857, allocations: 83.36 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.09858, allocations: 0 / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.0986, allocations: 0 / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.09861, allocations: 0 / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.09872, allocations: 35.92 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.09911, allocations: 382.3 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.09938, allocations: 105.2 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.09949, allocations: 49.62 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.09952, allocations: 0 / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.09974, allocations: 105 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.09975, allocations: 0 / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004562/0.1002, allocations: 197 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.1003, allocations: 85.03 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.1014, allocations: 1.026 MB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1014, allocations: 29.7 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1016, allocations: 232.1 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1016, allocations: 31.58 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1017, allocations: 17.72 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1018, allocations: 374.8 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.1019, allocations: 31.98 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.102, allocations: 55.41 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1022, allocations: 83.86 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1022, allocations: 4 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003033/0.1025, allocations: 176.9 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1026, allocations: 4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1026, allocations: 0 / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1026, allocations: 4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1027, allocations: 27.92 kB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1027, allocations: 4 kB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.1028, allocations: 4 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1028, allocations: 12.05 kB / 491.8 MB, free: 11.06 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.000202/0.103, allocations: 221.7 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1031, allocations: 51.34 kB / 492.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.1032, allocations: 64.03 kB / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1032, allocations: 0 / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1032, allocations: 0 / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1032, allocations: 0 / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1035, allocations: 349.3 kB / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1035, allocations: 0 / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.1036, allocations: 15.98 kB / 492.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1036, allocations: 3.984 kB / 492.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1036, allocations: 8 kB / 492.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1036, allocations: 0 / 492.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1036, allocations: 0 / 492.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1039, allocations: 205.2 kB / 492.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1041, allocations: 144.4 kB / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1041, allocations: 4 kB / 492.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.1042, allocations: 7.984 kB / 492.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1042, allocations: 11.98 kB / 492.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1043, allocations: 4.219 kB / 492.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007636/0.105, allocations: 0.7643 MB / 493.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1051, allocations: 0 / 493.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1053, allocations: 51.92 kB / 493.7 MB, free: 9.078 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.0008888/0.1062, allocations: 410.1 kB / 494.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1064, allocations: 75.91 kB / 494.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1065, allocations: 4 kB / 494.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.1066, allocations: 31.98 kB / 494.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.107, allocations: 66.7 kB / 494.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1082, allocations: 0.9519 MB / 495.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1086, allocations: 0.8469 MB / 496.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1087, allocations: 62.88 kB / 496.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.1088, allocations: 27.44 kB / 496.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1088, allocations: 0 / 496.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of Templates: time 0.007007/0.1158, allocations: 3.453 MB / 499.6 MB, free: 3.246 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches