Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001691, allocations: 196.2 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 226.6 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008672/0.0008669, allocations: 100.4 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3793/0.3793, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002928, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 62.96 MB / 0.5159 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001696/0.3223, allocations: 1.424 MB / 0.5173 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3239, allocations: 1.536 MB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.324, allocations: 0 / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3243, allocations: 34.28 kB / 0.5188 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.3245, allocations: 79.31 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.3247, allocations: 98.16 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3249, allocations: 92.38 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.325, allocations: 11.11 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.325, allocations: 43.92 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3252, allocations: 39.97 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3252, allocations: 3.031 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3253, allocations: 98.14 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.3254, allocations: 16.62 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.3254, allocations: 55.64 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3256, allocations: 124.1 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3256, allocations: 0 / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3256, allocations: 0 / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.3256, allocations: 4 kB / 0.5194 GB, free: 34.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004137/0.3261, allocations: 406.8 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3261, allocations: 10.75 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3261, allocations: 11.08 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3263, allocations: 219 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3263, allocations: 3.938 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3264, allocations: 2.906 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3265, allocations: 75.8 kB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3265, allocations: 0 / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3266, allocations: 0 / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3266, allocations: 3.031 kB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.3266, allocations: 20.06 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.3269, allocations: 288.1 kB / 0.5204 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3271, allocations: 61.02 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.3271, allocations: 17.27 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3272, allocations: 6.375 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.3273, allocations: 65.61 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3273, allocations: 0 / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.3278, allocations: 177.9 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3278, allocations: 91.83 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3279, allocations: 164.2 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.328, allocations: 25.7 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.328, allocations: 109.2 kB / 0.5211 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.328, allocations: 17.84 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.328, allocations: 4 kB / 0.5211 GB, free: 33.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.3281, allocations: 321.1 kB / 0.5215 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.3281, allocations: 26.97 kB / 0.5215 GB, free: 32.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.3282, allocations: 40.69 kB / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.3283, allocations: 59.09 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3283, allocations: 0 / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.3285, allocations: 92.42 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3285, allocations: 8.812 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3285, allocations: 4.062 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3285, allocations: 2.625 kB / 0.5217 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.3286, allocations: 16.62 kB / 0.5217 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3286, allocations: 3.938 kB / 0.5217 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.3286, allocations: 5.672 kB / 0.5217 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3287, allocations: 5.188 kB / 0.5217 GB, free: 32.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.721e-05/0.3287, allocations: 119.3 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.3288, allocations: 14.7 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3288, allocations: 19.44 kB / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3288, allocations: 0 / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3288, allocations: 3.938 kB / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3288, allocations: 0 / 0.5219 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.3292, allocations: 396.9 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3292, allocations: 2.938 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.3292, allocations: 12.03 kB / 0.5223 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3292, allocations: 0 / 0.5223 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3292, allocations: 6.875 kB / 0.5223 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3292, allocations: 8.031 kB / 0.5223 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3292, allocations: 6.844 kB / 0.5223 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3294, allocations: 194.1 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.3295, allocations: 95.19 kB / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3295, allocations: 2.844 kB / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.3296, allocations: 5.703 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3296, allocations: 13.12 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3296, allocations: 6.234 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.3297, allocations: 127 kB / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 3.938 kB / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000259/0.33, allocations: 40.66 kB / 0.5227 GB, free: 31.77 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001015/0.331, allocations: 0.5474 MB / 0.5233 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3312, allocations: 52.09 kB / 0.5233 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3312, allocations: 0 / 0.5233 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/0.3312, allocations: 29.44 kB / 0.5233 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3315, allocations: 31.58 kB / 0.5234 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.3319, allocations: 243.5 kB / 0.5236 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.332, allocations: 0.6983 MB / 0.5243 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3321, allocations: 26.95 kB / 0.5243 GB, free: 30.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3321, allocations: 0 / 0.5243 GB, free: 30.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003303/0.3354, allocations: 2.391 MB / 0.5267 GB, free: 30.28 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches