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.001096/0.001096, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 75.88 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3335, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003653/0.3372, allocations: 1.975 MB / 0.533 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3389, allocations: 1.186 MB / 0.5341 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.339, allocations: 1.375 kB / 0.5341 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.3398, allocations: 202.6 kB / 0.5343 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3402, allocations: 194.8 kB / 0.5345 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3406, allocations: 169.7 kB / 0.5347 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.3409, allocations: 270.4 kB / 0.5349 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3411, allocations: 33.64 kB / 0.535 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3412, allocations: 112.3 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3414, allocations: 107 kB / 0.5352 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3414, allocations: 10.44 kB / 0.5352 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3415, allocations: 56.55 kB / 0.5352 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.3416, allocations: 61.66 kB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.3417, allocations: 83.45 kB / 0.5354 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.342, allocations: 246 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3421, allocations: 0 / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3421, allocations: 5.156 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3421, allocations: 0 / 0.5356 GB, free: 10.38 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.0009759/0.3431, allocations: 0.5529 MB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.3431, allocations: 13.53 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3433, allocations: 28.69 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.3438, allocations: 288.2 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3438, allocations: 6.312 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.3439, allocations: 12.47 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.3442, allocations: 110 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3442, allocations: 1.062 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3442, allocations: 5.125 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3442, allocations: 1.125 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3444, allocations: 39.84 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.3449, allocations: 384.5 kB / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3453, allocations: 119.5 kB / 0.5371 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3454, allocations: 43.86 kB / 0.5372 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3454, allocations: 1.281 kB / 0.5372 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3457, allocations: 119.1 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3457, allocations: 0 / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005177/0.3462, allocations: 176.9 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3463, allocations: 105 kB / 0.5376 GB, free: 8.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.3467, allocations: 358.4 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3468, allocations: 28.02 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3469, allocations: 147.7 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.3469, allocations: 31.98 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.347, allocations: 28.91 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3471, allocations: 342.2 kB / 0.5384 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3472, allocations: 33.09 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3474, allocations: 78.91 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3476, allocations: 97.81 kB / 0.5386 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3476, allocations: 0 / 0.5386 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002844/0.3479, allocations: 145.4 kB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3479, allocations: 4.594 kB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3479, allocations: 6.156 kB / 0.5388 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3479, allocations: 1.594 kB / 0.5388 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.348, allocations: 26.67 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3481, allocations: 1.562 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.3482, allocations: 17.61 kB / 0.5388 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3482, allocations: 15.03 kB / 0.5389 GB, free: 7.52 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.0001344/0.3483, allocations: 152.2 kB / 0.539 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3484, allocations: 24.41 kB / 0.539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.3484, allocations: 31.58 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3484, allocations: 2.125 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3484, allocations: 1.094 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3485, allocations: 3.938 kB / 0.5391 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.3487, allocations: 261.8 kB / 0.5393 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3487, allocations: 0 / 0.5393 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.3487, allocations: 15.14 kB / 0.5393 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3487, allocations: 1.281 kB / 0.5393 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3488, allocations: 1.594 kB / 0.5393 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3488, allocations: 5.344 kB / 0.5393 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3488, allocations: 3.984 kB / 0.5393 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3491, allocations: 183.2 kB / 0.5395 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3492, allocations: 107.2 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3492, allocations: 5.719 kB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.3493, allocations: 8.234 kB / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3493, allocations: 9.219 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3494, allocations: 16.11 kB / 0.5397 GB, free: 6.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.3496, allocations: 257.9 kB / 0.5399 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3496, allocations: 0 / 0.5399 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3499, allocations: 37.36 kB / 0.5399 GB, free: 6.625 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.0009401/0.3508, allocations: 409.6 kB / 0.5403 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.3511, allocations: 92.08 kB / 0.5404 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3511, allocations: 128 / 0.5404 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3512, allocations: 51.52 kB / 0.5405 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.3517, allocations: 74.64 kB / 0.5405 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.3523, allocations: 383.9 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3526, allocations: 0.7499 MB / 0.5416 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.3527, allocations: 36.45 kB / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3527, allocations: 25.58 kB / 0.5417 GB, free: 5.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3528, allocations: 1.062 kB / 0.5417 GB, free: 5.293 MB / 398.1 MB Notification: Performance of Templates: time 0.006163/0.3589, allocations: 3.033 MB / 0.5447 GB, free: 3.645 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches