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.001355/0.001355, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3329, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003094/0.336, allocations: 1.835 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3378, allocations: 1.096 MB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.3379, allocations: 5.312 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.3385, allocations: 298.4 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.3389, allocations: 253 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3392, allocations: 100.7 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.3395, allocations: 261.5 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.3396, allocations: 13.94 kB / 0.5355 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3398, allocations: 128.6 kB / 0.5356 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.34, allocations: 188.7 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3401, allocations: 6.875 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3402, allocations: 51.64 kB / 0.5358 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3403, allocations: 141.5 kB / 0.536 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3405, allocations: 146.2 kB / 0.5361 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.3409, allocations: 369.9 kB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3409, allocations: 1.125 kB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3409, allocations: 0 / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3409, allocations: 0 / 0.5365 GB, free: 10.23 MB / 398.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.0009901/0.3419, allocations: 0.7303 MB / 0.5372 GB, free: 9.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.3419, allocations: 9.844 kB / 0.5372 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.3421, allocations: 57.5 kB / 0.5372 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.3427, allocations: 448.8 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3427, allocations: 2.281 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3427, allocations: 7.219 kB / 0.5377 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3429, allocations: 84.23 kB / 0.5378 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3429, allocations: 0 / 0.5378 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3429, allocations: 0.9688 kB / 0.5378 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.343, allocations: 5 kB / 0.5378 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3431, allocations: 32.45 kB / 0.5378 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.3436, allocations: 375.7 kB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3438, allocations: 109.4 kB / 0.5383 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.3439, allocations: 49.56 kB / 0.5383 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.344, allocations: 1.688 kB / 0.5383 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.3442, allocations: 107.7 kB / 0.5384 GB, free: 8.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3442, allocations: 4 kB / 0.5384 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000514/0.3447, allocations: 196.3 kB / 0.5386 GB, free: 8.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3448, allocations: 82.69 kB / 0.5387 GB, free: 8.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.346, allocations: 1.029 MB / 0.5397 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.346, allocations: 25.7 kB / 0.5397 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3462, allocations: 234.5 kB / 0.5399 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.3462, allocations: 23.89 kB / 0.5399 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.3463, allocations: 26.94 kB / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3465, allocations: 377 kB / 0.5403 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.3466, allocations: 27.05 kB / 0.5404 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3467, allocations: 55.64 kB / 0.5404 GB, free: 7.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3469, allocations: 98.19 kB / 0.5405 GB, free: 7.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3469, allocations: 0 / 0.5405 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.3472, allocations: 167.1 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3472, allocations: 5.781 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3472, allocations: 0 / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3473, allocations: 2.875 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3474, allocations: 29.08 kB / 0.5407 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3474, allocations: 1.188 kB / 0.5407 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3475, allocations: 21.61 kB / 0.5407 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3475, allocations: 2.844 kB / 0.5407 GB, free: 6.961 MB / 398.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.0002202/0.3477, allocations: 224.2 kB / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3479, allocations: 49.88 kB / 0.541 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.655e-05/0.348, allocations: 58.25 kB / 0.541 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.348, allocations: 2.812 kB / 0.541 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.348, allocations: 3.984 kB / 0.541 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.348, allocations: 1.125 kB / 0.541 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.3483, allocations: 348.3 kB / 0.5414 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3483, allocations: 4 kB / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.3484, allocations: 7.406 kB / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3484, allocations: 3.984 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3484, allocations: 6.469 kB / 0.5414 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3484, allocations: 1.375 kB / 0.5414 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3484, allocations: 4.062 kB / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.3487, allocations: 213.2 kB / 0.5416 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3489, allocations: 138.1 kB / 0.5417 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.349, allocations: 1.25 kB / 0.5417 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.3491, allocations: 7.469 kB / 0.5418 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.3492, allocations: 8.641 kB / 0.5418 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3492, allocations: 4.469 kB / 0.5418 GB, free: 6.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009366/0.3501, allocations: 0.7672 MB / 0.5425 GB, free: 5.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3501, allocations: 1.094 kB / 0.5425 GB, free: 5.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.3505, allocations: 40.16 kB / 0.5426 GB, free: 5.762 MB / 398.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.0009824/0.3515, allocations: 397.5 kB / 0.5429 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3518, allocations: 87.89 kB / 0.543 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3518, allocations: 0 / 0.543 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3519, allocations: 39.45 kB / 0.5431 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3524, allocations: 84.78 kB / 0.5431 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3537, allocations: 0.897 MB / 0.544 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.3542, allocations: 0.8427 MB / 0.5448 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.3543, allocations: 31.44 kB / 0.5449 GB, free: 3.984 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3543, allocations: 3.938 kB / 0.5449 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Templates: time 0.007576/0.3618, allocations: 5.091 MB / 0.5498 GB, free: 14.89 MB / 414.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