Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 243.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007819/0.0007819, allocations: 99.09 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3178, allocations: 62.96 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001725/0.3196, allocations: 1.516 MB / 0.5174 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3209, allocations: 1.04 MB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.321, allocations: 2.844 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.3214, allocations: 297.6 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3217, allocations: 238.5 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.3221, allocations: 145.8 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3223, allocations: 220.7 kB / 0.5192 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.3224, allocations: 12.22 kB / 0.5193 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3225, allocations: 125.5 kB / 0.5194 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3227, allocations: 163.7 kB / 0.5195 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3227, allocations: 2.969 kB / 0.5195 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.3228, allocations: 41.17 kB / 0.5196 GB, free: 35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3229, allocations: 135.6 kB / 0.5197 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.323, allocations: 169.1 kB / 0.5199 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3233, allocations: 276.5 kB / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3233, allocations: 2.969 kB / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3233, allocations: 0 / 0.5201 GB, free: 34.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3233, allocations: 0 / 0.5201 GB, free: 34.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007018/0.324, allocations: 0.6753 MB / 0.5208 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3241, allocations: 8.25 kB / 0.5208 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.3241, allocations: 51.56 kB / 0.5208 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.3246, allocations: 462.6 kB / 0.5213 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3246, allocations: 384 / 0.5213 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3246, allocations: 7.031 kB / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3248, allocations: 88.17 kB / 0.5214 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3248, allocations: 0 / 0.5214 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3248, allocations: 3.125 kB / 0.5214 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3248, allocations: 0 / 0.5214 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.3249, allocations: 29.42 kB / 0.5214 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3252, allocations: 379.8 kB / 0.5218 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.3255, allocations: 111.5 kB / 0.5219 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.3256, allocations: 43.94 kB / 0.5219 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.3256, allocations: 3.328 kB / 0.5219 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.3258, allocations: 108.1 kB / 0.522 GB, free: 33.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.3258, allocations: 0 / 0.522 GB, free: 33.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004067/0.3262, allocations: 202.2 kB / 0.5222 GB, free: 33.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3263, allocations: 87.92 kB / 0.5223 GB, free: 33.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.3271, allocations: 1.055 MB / 0.5233 GB, free: 32.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3271, allocations: 25.7 kB / 0.5234 GB, free: 32.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3273, allocations: 240.5 kB / 0.5236 GB, free: 32.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.3273, allocations: 25.78 kB / 0.5236 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.3273, allocations: 2.562 kB / 0.5236 GB, free: 32.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.3274, allocations: 370 kB / 0.524 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.3275, allocations: 29.62 kB / 0.524 GB, free: 32.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.3276, allocations: 63.39 kB / 0.5241 GB, free: 32.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3277, allocations: 82.05 kB / 0.5241 GB, free: 32.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3277, allocations: 2.375 kB / 0.5241 GB, free: 32.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002357/0.328, allocations: 180.9 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.328, allocations: 3.719 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.328, allocations: 3.328 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.328, allocations: 2.469 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3281, allocations: 21.84 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3281, allocations: 0 / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.3282, allocations: 5.688 kB / 0.5243 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3282, allocations: 9.406 kB / 0.5244 GB, free: 31.96 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: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.3284, allocations: 234.1 kB / 0.5246 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.3285, allocations: 49.56 kB / 0.5246 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.3285, allocations: 61.53 kB / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3286, allocations: 2.844 kB / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3286, allocations: 4 kB / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3286, allocations: 0 / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3288, allocations: 353.4 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3288, allocations: 0 / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.3288, allocations: 9.094 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3289, allocations: 6.625 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3289, allocations: 2.656 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3289, allocations: 3.422 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3289, allocations: 0 / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.3292, allocations: 206.9 kB / 0.5252 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3293, allocations: 141.3 kB / 0.5254 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3293, allocations: 10.14 kB / 0.5254 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3294, allocations: 5.531 kB / 0.5254 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3295, allocations: 19.19 kB / 0.5254 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3295, allocations: 6 kB / 0.5254 GB, free: 31.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006094/0.3301, allocations: 0.7808 MB / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3301, allocations: 0 / 0.5262 GB, free: 30.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.3303, allocations: 48.7 kB / 0.5262 GB, free: 30.94 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008146/0.3312, allocations: 420.7 kB / 0.5266 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3314, allocations: 79.58 kB / 0.5267 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3314, allocations: 0 / 0.5267 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.3315, allocations: 38.02 kB / 0.5267 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3319, allocations: 70.3 kB / 0.5268 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.333, allocations: 0.9727 MB / 0.5278 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3333, allocations: 0.851 MB / 0.5286 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.3333, allocations: 35.23 kB / 0.5286 GB, free: 29.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3333, allocations: 0 / 0.5286 GB, free: 29.45 MB / 378.7 MB Notification: Performance of Templates: time 0.007152/0.3405, allocations: 5.072 MB / 0.5336 GB, free: 28.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches