Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001238, 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.299/1.299, allocations: 226.8 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.0009863/0.0009863, allocations: 99.69 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3505/0.3505, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3185, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002885/0.3215, allocations: 1.794 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3229, allocations: 1.024 MB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3229, allocations: 0 / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.3232, allocations: 35.84 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.3235, allocations: 79.28 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3237, allocations: 91.06 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3238, allocations: 104.3 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.3239, allocations: 12.91 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.324, allocations: 36.38 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.3241, allocations: 35.09 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3241, allocations: 2.906 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.3242, allocations: 46.53 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.3242, allocations: 16.78 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.3243, allocations: 35.45 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3245, allocations: 102 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3245, allocations: 4 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3245, allocations: 0 / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3245, allocations: 0 / 0.5185 GB, free: 35.57 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.0004357/0.3249, allocations: 413 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.325, allocations: 8.5 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.325, allocations: 15.69 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3252, allocations: 209.2 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3252, allocations: 8 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3252, allocations: 8.125 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3254, allocations: 58.73 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3254, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3254, allocations: 0 / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3254, allocations: 2.75 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.3255, allocations: 15.72 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.3258, allocations: 281.8 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3259, allocations: 65.02 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.326, allocations: 20.55 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.326, allocations: 2.844 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3262, allocations: 71.12 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3262, allocations: 0 / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004811/0.3267, allocations: 172.7 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3267, allocations: 54 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3268, allocations: 169.7 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3268, allocations: 33.39 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.3269, allocations: 99.08 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3269, allocations: 18.53 kB / 0.5201 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.327, allocations: 30.59 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.327, allocations: 325.1 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.3271, allocations: 26.77 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.3271, allocations: 39.22 kB / 0.5205 GB, free: 33.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.3272, allocations: 55 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3272, allocations: 0 / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.3274, allocations: 101.8 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3274, allocations: 9.312 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3274, allocations: 4.031 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3274, allocations: 2.906 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.3275, allocations: 11.66 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3275, allocations: 6.969 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.3276, allocations: 11.72 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.3276, allocations: 7.156 kB / 0.5207 GB, free: 33.56 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.5e-05/0.3277, allocations: 127.1 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.3277, allocations: 9.094 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.3277, allocations: 29.17 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3277, allocations: 0 / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3277, allocations: 0 / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3278, allocations: 3.938 kB / 0.5209 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.3281, allocations: 391 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3281, allocations: 0 / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.3281, allocations: 9.031 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3281, allocations: 0 / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3281, allocations: 10.81 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3282, allocations: 3.375 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3282, allocations: 0 / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3285, allocations: 0.7799 MB / 0.5221 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.3285, allocations: 86.78 kB / 0.5221 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3286, allocations: 6.812 kB / 0.5221 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.3286, allocations: 0 / 0.5221 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3287, allocations: 17.02 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3287, allocations: 2.812 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.3288, allocations: 126.3 kB / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3288, allocations: 0 / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.3291, allocations: 25.31 kB / 0.5223 GB, free: 32.09 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.0008875/0.33, allocations: 456.7 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3302, allocations: 61.42 kB / 0.5228 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3302, allocations: 0 / 0.5228 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.3302, allocations: 28.67 kB / 0.5228 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3306, allocations: 39.89 kB / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.331, allocations: 356.8 kB / 0.5232 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3311, allocations: 0.6982 MB / 0.5239 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.3312, allocations: 19.11 kB / 0.5239 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3312, allocations: 22.83 kB / 0.5239 GB, free: 30.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3312, allocations: 0 / 0.5239 GB, free: 30.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003708/0.3349, allocations: 1.689 MB / 0.5256 GB, free: 30.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches