Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.00125, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, 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.2168/0.2168, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 79.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00295/0.3037, allocations: 1.832 MB / 0.5335 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3054, allocations: 1.092 MB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.3055, allocations: 4.969 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.306, allocations: 299.9 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.3064, allocations: 259.6 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3067, allocations: 108.2 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.307, allocations: 255.3 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.3071, allocations: 21.86 kB / 0.5355 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3072, allocations: 129.2 kB / 0.5356 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.3075, allocations: 200.3 kB / 0.5358 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.3075, allocations: 6.688 kB / 0.5358 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3076, allocations: 50.34 kB / 0.5358 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3078, allocations: 139.1 kB / 0.536 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3079, allocations: 155.9 kB / 0.5361 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.3083, allocations: 372.2 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3083, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3083, allocations: 1.188 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3083, allocations: 4 kB / 0.5365 GB, free: 10.2 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.00094/0.3093, allocations: 0.7415 MB / 0.5372 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3093, allocations: 8.656 kB / 0.5372 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.3094, allocations: 58.22 kB / 0.5373 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.31, allocations: 452.3 kB / 0.5377 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.31, allocations: 3.344 kB / 0.5377 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3101, allocations: 14.14 kB / 0.5377 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3103, allocations: 79.66 kB / 0.5378 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3103, allocations: 1.281 kB / 0.5378 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3103, allocations: 4 kB / 0.5378 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3103, allocations: 1.375 kB / 0.5378 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3104, allocations: 31.84 kB / 0.5378 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.3109, allocations: 379.1 kB / 0.5382 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3111, allocations: 104.3 kB / 0.5383 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.3112, allocations: 46.12 kB / 0.5383 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3113, allocations: 5.172 kB / 0.5383 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.3115, allocations: 116 kB / 0.5385 GB, free: 8.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3115, allocations: 0 / 0.5385 GB, free: 8.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004679/0.312, allocations: 193.8 kB / 0.5386 GB, free: 8.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.312, allocations: 86.19 kB / 0.5387 GB, free: 8.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3132, allocations: 1.053 MB / 0.5398 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3132, allocations: 31.08 kB / 0.5398 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3134, allocations: 239.3 kB / 0.54 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3135, allocations: 36.06 kB / 0.54 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.3135, allocations: 26.03 kB / 0.5401 GB, free: 7.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3137, allocations: 374.5 kB / 0.5404 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.3138, allocations: 27.14 kB / 0.5405 GB, free: 7.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.3139, allocations: 57.7 kB / 0.5405 GB, free: 7.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.314, allocations: 94.03 kB / 0.5406 GB, free: 7.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3141, allocations: 1.062 kB / 0.5406 GB, free: 7.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/0.3144, allocations: 171.1 kB / 0.5408 GB, free: 6.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3144, allocations: 5.406 kB / 0.5408 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3144, allocations: 5.312 kB / 0.5408 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3144, allocations: 1.281 kB / 0.5408 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3145, allocations: 25.98 kB / 0.5408 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3146, allocations: 1.188 kB / 0.5408 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.3147, allocations: 8.328 kB / 0.5408 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3147, allocations: 8.438 kB / 0.5408 GB, free: 6.91 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.0002071/0.3149, allocations: 222.4 kB / 0.541 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.315, allocations: 58.22 kB / 0.5411 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.311e-05/0.315, allocations: 66.7 kB / 0.5411 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3151, allocations: 2.5 kB / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3151, allocations: 0 / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3151, allocations: 1.094 kB / 0.5412 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.3154, allocations: 346 kB / 0.5415 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3154, allocations: 1.25 kB / 0.5415 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.3155, allocations: 10.86 kB / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3155, allocations: 1.156 kB / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3155, allocations: 1.219 kB / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3155, allocations: 1.125 kB / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3155, allocations: 5.281 kB / 0.5415 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3158, allocations: 204.3 kB / 0.5417 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.316, allocations: 139 kB / 0.5418 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.316, allocations: 10.17 kB / 0.5418 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.3161, allocations: 3.312 kB / 0.5418 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.3162, allocations: 11.27 kB / 0.5419 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3162, allocations: 13.38 kB / 0.5419 GB, free: 6.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008423/0.3171, allocations: 0.7848 MB / 0.5426 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3171, allocations: 0 / 0.5426 GB, free: 5.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3174, allocations: 44.84 kB / 0.5427 GB, free: 5.699 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.0008891/0.3182, allocations: 401.2 kB / 0.5431 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3185, allocations: 78.34 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3185, allocations: 5.625 kB / 0.5431 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3186, allocations: 35.05 kB / 0.5432 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3191, allocations: 98.31 kB / 0.5433 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3203, allocations: 0.9091 MB / 0.5442 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3207, allocations: 0.8581 MB / 0.545 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.3208, allocations: 23.44 kB / 0.545 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3208, allocations: 4 kB / 0.545 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Templates: time 0.00745/0.3282, allocations: 5.2 MB / 0.5501 GB, free: 14.59 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches