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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 103.8 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.38/0.38, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3331, allocations: 62.01 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004386/0.3375, allocations: 2.026 MB / 0.5171 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.3405, allocations: 1.216 MB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3407, allocations: 2.812 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.3418, allocations: 188.1 kB / 0.5185 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.3425, allocations: 177.5 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.3435, allocations: 210 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.3438, allocations: 267.2 kB / 0.5191 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.344, allocations: 29.5 kB / 0.5192 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3442, allocations: 99.75 kB / 0.5193 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.3444, allocations: 113.1 kB / 0.5194 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.3444, allocations: 5.438 kB / 0.5194 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3446, allocations: 49 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3448, allocations: 48.14 kB / 0.5195 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3449, allocations: 81.89 kB / 0.5195 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.3454, allocations: 236.1 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3454, allocations: 3.469 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3454, allocations: 0 / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3454, allocations: 0 / 0.5198 GB, free: 34.91 MB / 378.7 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.001063/0.3465, allocations: 0.5591 MB / 0.5203 GB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3465, allocations: 8.75 kB / 0.5203 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3466, allocations: 28.34 kB / 0.5204 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.3471, allocations: 289.8 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3471, allocations: 3.031 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.3471, allocations: 9.562 kB / 0.5206 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3474, allocations: 101.2 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3475, allocations: 7.938 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3475, allocations: 4 kB / 0.5207 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3475, allocations: 2.688 kB / 0.5207 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.3477, allocations: 38.33 kB / 0.5208 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.3483, allocations: 379.1 kB / 0.5211 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.3488, allocations: 121.6 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3489, allocations: 41.53 kB / 0.5213 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.349, allocations: 2.844 kB / 0.5213 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.3493, allocations: 127.5 kB / 0.5214 GB, free: 33.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.3493, allocations: 0 / 0.5214 GB, free: 33.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006801/0.35, allocations: 178.1 kB / 0.5216 GB, free: 33.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3501, allocations: 113.3 kB / 0.5217 GB, free: 33.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.3506, allocations: 347.9 kB / 0.522 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3506, allocations: 33.7 kB / 0.5221 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3507, allocations: 141.8 kB / 0.5222 GB, free: 32.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.3508, allocations: 29 kB / 0.5222 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.3509, allocations: 36.61 kB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.351, allocations: 341.5 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3511, allocations: 31.75 kB / 0.5226 GB, free: 32.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3513, allocations: 75.53 kB / 0.5227 GB, free: 32.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.3516, allocations: 94.62 kB / 0.5228 GB, free: 32.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3516, allocations: 2.531 kB / 0.5228 GB, free: 32.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004427/0.3521, allocations: 141.7 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3521, allocations: 9.406 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3521, allocations: 6.797 kB / 0.5229 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3522, allocations: 0.625 kB / 0.5229 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3524, allocations: 27.44 kB / 0.523 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3524, allocations: 0 / 0.523 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3525, allocations: 21.02 kB / 0.523 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3526, allocations: 13.59 kB / 0.523 GB, free: 32.33 MB / 378.7 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.0001755/0.3528, allocations: 162.5 kB / 0.5232 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.3528, allocations: 27.28 kB / 0.5232 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.3529, allocations: 28.5 kB / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.353, allocations: 3.375 kB / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.353, allocations: 2.969 kB / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.353, allocations: 0 / 0.5232 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3533, allocations: 255.1 kB / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3533, allocations: 0 / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.3533, allocations: 8.953 kB / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3534, allocations: 0 / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3534, allocations: 2.906 kB / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3534, allocations: 2.844 kB / 0.5235 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3534, allocations: 4 kB / 0.5235 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.3544, allocations: 0.8096 MB / 0.5243 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.3545, allocations: 102.3 kB / 0.5244 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.3546, allocations: 10.81 kB / 0.5244 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3547, allocations: 10.31 kB / 0.5244 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.3548, allocations: 9 kB / 0.5244 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3549, allocations: 9.625 kB / 0.5244 GB, free: 31.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004054/0.3553, allocations: 256.6 kB / 0.5246 GB, free: 30.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.605e-06/0.3553, allocations: 0 / 0.5246 GB, free: 30.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006748/0.356, allocations: 46.38 kB / 0.5247 GB, free: 30.91 MB / 378.7 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.001503/0.3575, allocations: 414.5 kB / 0.5251 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.358, allocations: 92.05 kB / 0.5252 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.358, allocations: 3.094 kB / 0.5252 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3582, allocations: 51.05 kB / 0.5252 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.3589, allocations: 59.45 kB / 0.5253 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.36, allocations: 0.5633 MB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3602, allocations: 0.7541 MB / 0.5266 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.3604, allocations: 43.61 kB / 0.5266 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.3605, allocations: 25.84 kB / 0.5266 GB, free: 29.48 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3605, allocations: 0 / 0.5266 GB, free: 29.48 MB / 378.7 MB Notification: Performance of Templates: time 0.008794/0.3693, allocations: 2.939 MB / 0.5295 GB, free: 29.18 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches