Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, 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.216/0.216, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 83.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3054, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003174/0.3087, allocations: 1.984 MB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3107, allocations: 1.187 MB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3108, allocations: 2.188 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.3115, allocations: 206 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.3121, allocations: 199 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3126, allocations: 165.1 kB / 0.5354 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.313, allocations: 274 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3131, allocations: 22 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.3134, allocations: 112.9 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3136, allocations: 110.3 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3136, allocations: 10.38 kB / 0.5359 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3138, allocations: 64.33 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.3139, allocations: 55.36 kB / 0.536 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.76e-05/0.314, allocations: 90.69 kB / 0.5361 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.3143, allocations: 240.1 kB / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3143, allocations: 3.938 kB / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3143, allocations: 0 / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.3144, allocations: 0 / 0.5363 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008568/0.3152, allocations: 0.5562 MB / 0.5368 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3153, allocations: 9.281 kB / 0.5368 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.3154, allocations: 31.31 kB / 0.5369 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3158, allocations: 288.3 kB / 0.5371 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3158, allocations: 11.11 kB / 0.5372 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3158, allocations: 8.031 kB / 0.5372 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.3161, allocations: 110.7 kB / 0.5373 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3161, allocations: 0 / 0.5373 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3161, allocations: 5.094 kB / 0.5373 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3161, allocations: 1.125 kB / 0.5373 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3162, allocations: 41.19 kB / 0.5373 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.3168, allocations: 375.5 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.3171, allocations: 119.3 kB / 0.5378 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3172, allocations: 47.7 kB / 0.5378 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3173, allocations: 5.875 kB / 0.5378 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.3175, allocations: 115 kB / 0.538 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.3175, allocations: 0 / 0.538 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005069/0.318, allocations: 181.6 kB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3181, allocations: 105 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.3185, allocations: 350.7 kB / 0.5386 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3185, allocations: 30.86 kB / 0.5386 GB, free: 8.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3187, allocations: 139.5 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3187, allocations: 40.88 kB / 0.5388 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.3188, allocations: 32.48 kB / 0.5388 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.319, allocations: 337.7 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.3191, allocations: 37.61 kB / 0.5391 GB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3192, allocations: 77.28 kB / 0.5392 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.3195, allocations: 97.23 kB / 0.5393 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3195, allocations: 0 / 0.5393 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003062/0.3198, allocations: 145.3 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3199, allocations: 6.312 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3199, allocations: 1.656 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3199, allocations: 5.219 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.32, allocations: 26.08 kB / 0.5395 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.32, allocations: 5.938 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.3201, allocations: 13.03 kB / 0.5395 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3202, allocations: 12.59 kB / 0.5395 GB, free: 7.316 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002328/0.3204, allocations: 156.8 kB / 0.5397 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.3205, allocations: 23.38 kB / 0.5397 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.3205, allocations: 28.2 kB / 0.5397 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3205, allocations: 5.188 kB / 0.5397 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3205, allocations: 1.125 kB / 0.5397 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3206, allocations: 1.188 kB / 0.5397 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3208, allocations: 256.2 kB / 0.54 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3208, allocations: 0 / 0.54 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3208, allocations: 10.88 kB / 0.54 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3208, allocations: 1.031 kB / 0.54 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3209, allocations: 6.312 kB / 0.54 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3209, allocations: 5.172 kB / 0.54 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3209, allocations: 5.141 kB / 0.54 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3212, allocations: 182.1 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.3213, allocations: 99.39 kB / 0.5403 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3213, allocations: 10.17 kB / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3214, allocations: 4.375 kB / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.3215, allocations: 12.42 kB / 0.5403 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.3216, allocations: 13.09 kB / 0.5403 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.3218, allocations: 264.9 kB / 0.5406 GB, free: 6.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.3218, allocations: 0 / 0.5406 GB, free: 6.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3221, allocations: 38.12 kB / 0.5406 GB, free: 6.426 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.0009915/0.3231, allocations: 415.5 kB / 0.541 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3234, allocations: 92.11 kB / 0.5411 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3234, allocations: 1.781 kB / 0.5411 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.3235, allocations: 50.27 kB / 0.5411 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.324, allocations: 69.22 kB / 0.5412 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.3247, allocations: 417.1 kB / 0.5416 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.325, allocations: 0.7533 MB / 0.5423 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.3251, allocations: 21.06 kB / 0.5423 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3251, allocations: 0 / 0.5423 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Templates: time 0.006543/0.3317, allocations: 3.359 MB / 0.5456 GB, free: 3.164 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches