Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, 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.321/1.321, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000938/0.0009381, allocations: 101.9 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3451/0.3451, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 62.01 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002726/0.3208, allocations: 1.803 MB / 0.5169 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3222, allocations: 1.017 MB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.3223, allocations: 0 / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3225, allocations: 37.08 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.3228, allocations: 83.36 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.323, allocations: 96.56 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3231, allocations: 100.2 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.3232, allocations: 12.31 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.3233, allocations: 40.36 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.3234, allocations: 36.66 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3234, allocations: 3.094 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3235, allocations: 45.33 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.3236, allocations: 16.92 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.3236, allocations: 35.83 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3238, allocations: 107.2 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3238, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3238, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3238, allocations: 3.938 kB / 0.5185 GB, free: 35.5 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.0004698/0.3243, allocations: 417.9 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3244, allocations: 11.73 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3244, allocations: 14.69 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3246, allocations: 205.5 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3246, allocations: 3.281 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3246, allocations: 8.125 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3248, allocations: 57.08 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3248, allocations: 0 / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3248, allocations: 4 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3248, allocations: 3 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3249, allocations: 19.88 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.3252, allocations: 285.9 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3254, allocations: 59.58 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3254, allocations: 24.88 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3255, allocations: 3.984 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3256, allocations: 74.09 kB / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3256, allocations: 0 / 0.5196 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004495/0.3261, allocations: 176.3 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3261, allocations: 51.41 kB / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3263, allocations: 179.4 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3263, allocations: 32.2 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.3263, allocations: 98.12 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3264, allocations: 32.72 kB / 0.5202 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3264, allocations: 23.19 kB / 0.5202 GB, free: 33.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.3265, allocations: 325.6 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.3265, allocations: 22.08 kB / 0.5205 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.3266, allocations: 35.52 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.3267, allocations: 58.25 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3267, allocations: 4 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001469/0.3268, allocations: 107.3 kB / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3268, allocations: 5.719 kB / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3269, allocations: 384 / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3269, allocations: 0 / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.327, allocations: 21.73 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.327, allocations: 4 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.327, allocations: 6.844 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.327, allocations: 2.844 kB / 0.5208 GB, free: 33.48 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.474e-05/0.3271, allocations: 133.7 kB / 0.5209 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.3271, allocations: 6.781 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.3272, allocations: 18.44 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3272, allocations: 0 / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3272, allocations: 2.906 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3272, allocations: 3.938 kB / 0.5209 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3275, allocations: 397.4 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3276, allocations: 2.938 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.3276, allocations: 9.125 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3276, allocations: 2.688 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3276, allocations: 7.266 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3276, allocations: 2.828 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3276, allocations: 192 / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.328, allocations: 0.785 MB / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.328, allocations: 91.27 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.328, allocations: 0 / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.3281, allocations: 6.938 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3282, allocations: 6.094 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3282, allocations: 2.844 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.3283, allocations: 143.7 kB / 0.5223 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3283, allocations: 0 / 0.5223 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.3286, allocations: 28.83 kB / 0.5224 GB, free: 32 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.0008492/0.3295, allocations: 454 kB / 0.5228 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3296, allocations: 64.12 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3296, allocations: 0 / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.004e-05/0.3297, allocations: 32.7 kB / 0.5229 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.33, allocations: 27.17 kB / 0.5229 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3304, allocations: 374.2 kB / 0.5233 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3305, allocations: 0.7019 MB / 0.524 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.3306, allocations: 27.83 kB / 0.524 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3306, allocations: 13.09 kB / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3306, allocations: 0 / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003487/0.3341, allocations: 1.697 MB / 0.5257 GB, free: 30.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches