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.001229/0.00123, allocations: 114.3 kB / 18.45 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.001499/0.001499, allocations: 210 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.403/1.403, 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.2242/0.2242, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 75.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003107/0.3354, allocations: 1.983 MB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3373, allocations: 1.188 MB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.623e-05/0.3374, allocations: 1.812 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.3381, allocations: 205.3 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.3386, allocations: 202.9 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.339, allocations: 166.1 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.3393, allocations: 270.6 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3394, allocations: 30.03 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3396, allocations: 112.9 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3397, allocations: 114 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3398, allocations: 11 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3399, allocations: 51.98 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.34, allocations: 59.25 kB / 0.536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3401, allocations: 94.55 kB / 0.5361 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3404, allocations: 240.4 kB / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3405, allocations: 0 / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3405, allocations: 3.938 kB / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3405, allocations: 0 / 0.5363 GB, free: 10.15 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.0008126/0.3413, allocations: 0.56 MB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3413, allocations: 8.688 kB / 0.5369 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.3414, allocations: 27.88 kB / 0.5369 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.3418, allocations: 292.5 kB / 0.5372 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3418, allocations: 7.562 kB / 0.5372 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3418, allocations: 7.281 kB / 0.5372 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.3421, allocations: 106.9 kB / 0.5373 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3421, allocations: 0 / 0.5373 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3421, allocations: 1.125 kB / 0.5373 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3421, allocations: 2.188 kB / 0.5373 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3422, allocations: 44.47 kB / 0.5373 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.3428, allocations: 384.1 kB / 0.5377 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.343, allocations: 115.2 kB / 0.5378 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.3431, allocations: 43.52 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3432, allocations: 9.906 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.3434, allocations: 110.5 kB / 0.538 GB, free: 8.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3434, allocations: 4 kB / 0.538 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004507/0.3439, allocations: 177.6 kB / 0.5381 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.344, allocations: 103.9 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.3444, allocations: 350.6 kB / 0.5386 GB, free: 8.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3444, allocations: 32.77 kB / 0.5386 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.3445, allocations: 139.5 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.3445, allocations: 36.98 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.3446, allocations: 31.59 kB / 0.5388 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3448, allocations: 338.3 kB / 0.5391 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.3449, allocations: 36.88 kB / 0.5391 GB, free: 7.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.345, allocations: 80.83 kB / 0.5392 GB, free: 7.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3452, allocations: 104.9 kB / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3452, allocations: 1.125 kB / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002745/0.3455, allocations: 141.2 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3455, allocations: 5.625 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3455, allocations: 1.156 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3455, allocations: 1.125 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3457, allocations: 30.23 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3457, allocations: 5.094 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.3458, allocations: 17.73 kB / 0.5395 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3458, allocations: 8.5 kB / 0.5395 GB, free: 7.301 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.0001443/0.3459, allocations: 152.6 kB / 0.5397 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.346, allocations: 22.88 kB / 0.5397 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.346, allocations: 29.02 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3461, allocations: 1.281 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3461, allocations: 1.156 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3461, allocations: 9.234 kB / 0.5397 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.3463, allocations: 260.2 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3463, allocations: 0 / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.3464, allocations: 14.48 kB / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3464, allocations: 1.156 kB / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3464, allocations: 6.031 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3464, allocations: 1.031 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3464, allocations: 1.156 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.3467, allocations: 187.6 kB / 0.5402 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.3468, allocations: 102.8 kB / 0.5403 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.3468, allocations: 5.875 kB / 0.5403 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.3469, allocations: 8.359 kB / 0.5403 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.347, allocations: 8.719 kB / 0.5403 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.347, allocations: 12.73 kB / 0.5403 GB, free: 6.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.3473, allocations: 261.5 kB / 0.5406 GB, free: 6.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3473, allocations: 3.938 kB / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3476, allocations: 42.08 kB / 0.5406 GB, free: 6.402 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.0009796/0.3486, allocations: 400.9 kB / 0.541 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.3488, allocations: 95.61 kB / 0.5411 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3488, allocations: 1.438 kB / 0.5411 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.349, allocations: 49.88 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3494, allocations: 81.17 kB / 0.5412 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.3501, allocations: 415 kB / 0.5416 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3505, allocations: 0.7498 MB / 0.5423 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.3505, allocations: 29.8 kB / 0.5424 GB, free: 5.047 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3506, allocations: 0 / 0.5424 GB, free: 5.047 MB / 398.1 MB Notification: Performance of Templates: time 0.006282/0.3568, allocations: 3.351 MB / 0.5456 GB, free: 3.148 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