Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, 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.374/1.374, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001096, allocations: 109.9 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.346/0.346, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.08 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00278/0.3125, allocations: 1.801 MB / 0.5169 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3139, allocations: 1.025 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3139, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.3142, allocations: 46.98 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3144, allocations: 73.17 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.3147, allocations: 99.78 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3148, allocations: 96.69 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3149, allocations: 9.906 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.315, allocations: 38.97 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.3151, allocations: 38.75 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3151, allocations: 6.688 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.3152, allocations: 44.12 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.3152, allocations: 24.38 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.3153, allocations: 33 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.3154, allocations: 113.3 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3154, allocations: 2.875 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3154, allocations: 0 / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3155, allocations: 0 / 0.5185 GB, free: 35.56 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.0004345/0.3159, allocations: 429.8 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3159, allocations: 8.719 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.316, allocations: 10.34 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3162, allocations: 219 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3162, allocations: 3.797 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3162, allocations: 7 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3163, allocations: 56.02 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3164, allocations: 2.906 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3164, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3164, allocations: 4 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.3164, allocations: 17.92 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3167, allocations: 292.8 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3169, allocations: 56.31 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.317, allocations: 22.08 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.317, allocations: 4 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3172, allocations: 74.78 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3172, allocations: 0 / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004584/0.3176, allocations: 172.5 kB / 0.5198 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.3177, allocations: 55.34 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3178, allocations: 209.6 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.3178, allocations: 29.7 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.3179, allocations: 109.2 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3179, allocations: 32.69 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.318, allocations: 23.06 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.318, allocations: 328.6 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.3181, allocations: 18.88 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.3181, allocations: 35.56 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.3182, allocations: 66.25 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3182, allocations: 0 / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.3184, allocations: 97.48 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3184, allocations: 5.969 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3184, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3184, allocations: 2.875 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3185, allocations: 22.91 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3185, allocations: 2.844 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3186, allocations: 7.969 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3186, allocations: 2.656 kB / 0.5208 GB, free: 33.52 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.3187, allocations: 129.5 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3187, allocations: 9.625 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.3187, allocations: 18.31 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3187, allocations: 0 / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3188, allocations: 2.469 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3188, allocations: 3.938 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3191, allocations: 399.8 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3191, allocations: 3.094 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.3191, allocations: 9.156 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3192, allocations: 0 / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3192, allocations: 6.875 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3192, allocations: 3.938 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3192, allocations: 3.438 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3195, allocations: 0.7858 MB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.3196, allocations: 92.02 kB / 0.5223 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3196, allocations: 4 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.3197, allocations: 7.938 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.3197, allocations: 5.891 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3197, allocations: 6.906 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.3198, allocations: 158.5 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3198, allocations: 192 / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.3202, allocations: 24.78 kB / 0.5225 GB, free: 32.03 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 (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.0008714/0.321, allocations: 470.5 kB / 0.5229 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3212, allocations: 66.19 kB / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3212, allocations: 0 / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.3213, allocations: 28.05 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3216, allocations: 36.3 kB / 0.523 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.322, allocations: 388.5 kB / 0.5234 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.3222, allocations: 0.7091 MB / 0.5241 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.3222, allocations: 20.66 kB / 0.5241 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.3222, allocations: 13.12 kB / 0.5241 GB, free: 30.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3223, allocations: 2.375 kB / 0.5241 GB, free: 30.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003509/0.3258, allocations: 1.699 MB / 0.5258 GB, free: 30.53 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches