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.00126/0.00126, allocations: 117.7 kB / 18.46 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.001481/0.001481, allocations: 208.8 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.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 71.88 kB / 482 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3484, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003231/0.3516, allocations: 1.84 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3536, allocations: 1.092 MB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.3537, allocations: 5.312 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.3542, allocations: 295.9 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.3547, allocations: 247.6 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3549, allocations: 109.8 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3553, allocations: 257 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.3553, allocations: 13.66 kB / 0.5355 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3555, allocations: 120.2 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.3558, allocations: 205 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3559, allocations: 6.781 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.356, allocations: 47.2 kB / 0.5358 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3562, allocations: 137.2 kB / 0.536 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3563, allocations: 150.8 kB / 0.5361 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3568, allocations: 371 kB / 0.5365 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3568, allocations: 3.984 kB / 0.5365 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3568, allocations: 0 / 0.5365 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3568, allocations: 0 / 0.5365 GB, free: 10.18 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.0009555/0.3578, allocations: 0.7228 MB / 0.5372 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3578, allocations: 9.406 kB / 0.5372 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.3579, allocations: 54.39 kB / 0.5372 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.3585, allocations: 449.5 kB / 0.5377 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3586, allocations: 1.656 kB / 0.5377 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.3586, allocations: 11.66 kB / 0.5377 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3588, allocations: 74.97 kB / 0.5377 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3589, allocations: 5.188 kB / 0.5377 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3589, allocations: 7.984 kB / 0.5377 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3589, allocations: 1.125 kB / 0.5378 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.359, allocations: 28.17 kB / 0.5378 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3594, allocations: 376 kB / 0.5381 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.3598, allocations: 109.2 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3599, allocations: 45.66 kB / 0.5383 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3599, allocations: 1.094 kB / 0.5383 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3601, allocations: 123.8 kB / 0.5384 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.3602, allocations: 1.219 kB / 0.5384 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005518/0.3607, allocations: 196.2 kB / 0.5386 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3608, allocations: 88.12 kB / 0.5387 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.362, allocations: 1.022 MB / 0.5397 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.362, allocations: 28.2 kB / 0.5397 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3622, allocations: 237.4 kB / 0.5399 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3622, allocations: 27.64 kB / 0.54 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3623, allocations: 22.59 kB / 0.54 GB, free: 7.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3625, allocations: 369.8 kB / 0.5403 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.3626, allocations: 30.72 kB / 0.5404 GB, free: 7.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.3627, allocations: 59.61 kB / 0.5404 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3629, allocations: 85.3 kB / 0.5405 GB, free: 7.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3629, allocations: 5.078 kB / 0.5405 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003136/0.3632, allocations: 170 kB / 0.5407 GB, free: 6.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3633, allocations: 5.312 kB / 0.5407 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3633, allocations: 1.25 kB / 0.5407 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3633, allocations: 2.719 kB / 0.5407 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3635, allocations: 28.77 kB / 0.5407 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3635, allocations: 2.281 kB / 0.5407 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3636, allocations: 12.38 kB / 0.5407 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3636, allocations: 11.33 kB / 0.5407 GB, free: 6.914 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.0002377/0.3639, allocations: 217 kB / 0.5409 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3639, allocations: 45.88 kB / 0.541 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.364, allocations: 61.75 kB / 0.541 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.364, allocations: 6.031 kB / 0.541 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3641, allocations: 5.75 kB / 0.541 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3641, allocations: 7.969 kB / 0.5411 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3645, allocations: 348.6 kB / 0.5414 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3645, allocations: 0 / 0.5414 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.3645, allocations: 11.27 kB / 0.5414 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3645, allocations: 0 / 0.5414 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3645, allocations: 2.938 kB / 0.5414 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3646, allocations: 1.375 kB / 0.5414 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3646, allocations: 0 / 0.5414 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.3649, allocations: 212.1 kB / 0.5416 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3651, allocations: 142.1 kB / 0.5417 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.3651, allocations: 5.719 kB / 0.5417 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.3652, allocations: 2.938 kB / 0.5417 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.3653, allocations: 12.86 kB / 0.5418 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3653, allocations: 4.906 kB / 0.5418 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009619/0.3663, allocations: 0.7673 MB / 0.5425 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3663, allocations: 0 / 0.5425 GB, free: 5.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3666, allocations: 41.03 kB / 0.5425 GB, free: 5.715 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.0009944/0.3676, allocations: 405.6 kB / 0.5429 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.3679, allocations: 83.08 kB / 0.543 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3679, allocations: 1.031 kB / 0.543 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.368, allocations: 39.42 kB / 0.5431 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3685, allocations: 76.12 kB / 0.5431 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3699, allocations: 0.8983 MB / 0.544 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.3704, allocations: 0.8388 MB / 0.5448 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.3705, allocations: 31.42 kB / 0.5449 GB, free: 3.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3705, allocations: 4 kB / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Templates: time 0.00897/0.3794, allocations: 5.089 MB / 0.5498 GB, free: 14.82 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches