Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 79.88 kB / 482 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3511, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004973/0.3561, allocations: 1.841 MB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.3597, allocations: 1.094 MB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3598, allocations: 1.375 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.3607, allocations: 300 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000886/0.3616, allocations: 262.3 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3621, allocations: 109.2 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.3627, allocations: 258.7 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.3628, allocations: 13.86 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.3632, allocations: 133.7 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.3637, allocations: 196.2 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.3637, allocations: 6.844 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.364, allocations: 51.05 kB / 0.5359 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.3642, allocations: 145.8 kB / 0.536 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.3645, allocations: 151.9 kB / 0.5361 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.3652, allocations: 373.2 kB / 0.5365 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3652, allocations: 0 / 0.5365 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3653, allocations: 0 / 0.5365 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3653, allocations: 1.188 kB / 0.5365 GB, free: 10.17 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.00159/0.3669, allocations: 0.7408 MB / 0.5372 GB, free: 9.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3669, allocations: 12.66 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3671, allocations: 51.06 kB / 0.5373 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3681, allocations: 459.8 kB / 0.5377 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3682, allocations: 6.469 kB / 0.5377 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3682, allocations: 7.406 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.3687, allocations: 87.64 kB / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3687, allocations: 0 / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3687, allocations: 1.188 kB / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3687, allocations: 1.094 kB / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3689, allocations: 27.97 kB / 0.5378 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.3698, allocations: 381.9 kB / 0.5382 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.3704, allocations: 101.8 kB / 0.5383 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3706, allocations: 49.91 kB / 0.5383 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3706, allocations: 5.125 kB / 0.5384 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003553/0.371, allocations: 108.3 kB / 0.5385 GB, free: 8.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.895e-06/0.371, allocations: 0 / 0.5385 GB, free: 8.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009439/0.372, allocations: 197.2 kB / 0.5386 GB, free: 8.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3721, allocations: 90.5 kB / 0.5387 GB, free: 8.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3742, allocations: 1.049 MB / 0.5398 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3743, allocations: 31.39 kB / 0.5398 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.3745, allocations: 234.8 kB / 0.54 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.3746, allocations: 31.95 kB / 0.54 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.3747, allocations: 26.66 kB / 0.5401 GB, free: 7.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.3751, allocations: 373.2 kB / 0.5404 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3752, allocations: 31.92 kB / 0.5405 GB, free: 7.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3754, allocations: 61.89 kB / 0.5405 GB, free: 7.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.3758, allocations: 85.75 kB / 0.5406 GB, free: 7.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3758, allocations: 1 kB / 0.5406 GB, free: 7.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006347/0.3765, allocations: 178.4 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3765, allocations: 6.406 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3766, allocations: 1.062 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3766, allocations: 1.031 kB / 0.5408 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3768, allocations: 21.77 kB / 0.5408 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3769, allocations: 1.219 kB / 0.5408 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3771, allocations: 8.484 kB / 0.5408 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3771, allocations: 8.188 kB / 0.5408 GB, free: 6.887 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.0003975/0.3775, allocations: 235.4 kB / 0.541 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3777, allocations: 53.64 kB / 0.5411 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.3779, allocations: 63.45 kB / 0.5411 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3779, allocations: 1.656 kB / 0.5411 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3779, allocations: 1.531 kB / 0.5411 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.378, allocations: 0 / 0.5411 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.3785, allocations: 350.4 kB / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3786, allocations: 0 / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.3786, allocations: 7.75 kB / 0.5415 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3787, allocations: 4 kB / 0.5415 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3787, allocations: 6.172 kB / 0.5415 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/0.3788, allocations: 5.312 kB / 0.5415 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3788, allocations: 1 kB / 0.5415 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.3794, allocations: 204.5 kB / 0.5417 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3796, allocations: 138.8 kB / 0.5418 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.3798, allocations: 6.5 kB / 0.5418 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.38, allocations: 10.98 kB / 0.5419 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.3801, allocations: 16.02 kB / 0.5419 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3801, allocations: 4.188 kB / 0.5419 GB, free: 6.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.3817, allocations: 0.7855 MB / 0.5426 GB, free: 5.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3817, allocations: 0 / 0.5426 GB, free: 5.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.3822, allocations: 44.19 kB / 0.5427 GB, free: 5.664 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.001781/0.384, allocations: 402.3 kB / 0.5431 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.3846, allocations: 82.3 kB / 0.5431 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3846, allocations: 0 / 0.5431 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3848, allocations: 43.2 kB / 0.5432 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.3857, allocations: 79.48 kB / 0.5433 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3879, allocations: 0.9083 MB / 0.5441 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.3887, allocations: 0.8581 MB / 0.545 GB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3888, allocations: 31.44 kB / 0.545 GB, free: 3.758 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3888, allocations: 0 / 0.545 GB, free: 3.758 MB / 398.1 MB Notification: Performance of Templates: time 0.01597/0.4048, allocations: 5.2 MB / 0.5501 GB, free: 14.56 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches