Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, 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.388/1.388, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 105.6 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3564/0.3564, allocations: 44.83 MB / 392.7 MB, free: 34.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 71.88 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3164, allocations: 62.01 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002575/0.319, allocations: 1.8 MB / 0.5169 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3202, allocations: 1.028 MB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3203, allocations: 0 / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3206, allocations: 40.3 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3208, allocations: 79.36 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.321, allocations: 85.89 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3211, allocations: 105.8 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.3212, allocations: 12.7 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.3213, allocations: 40.27 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.3214, allocations: 33.84 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3214, allocations: 2.906 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.3215, allocations: 45.12 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.3215, allocations: 20.86 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3216, allocations: 35.28 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3217, allocations: 112.3 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3218, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3218, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3218, allocations: 0 / 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.0004417/0.3222, allocations: 417.5 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3223, allocations: 12.03 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3223, allocations: 11.66 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3225, allocations: 216.2 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3225, allocations: 3.703 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3225, allocations: 11 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3227, allocations: 56.58 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3227, allocations: 0 / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3227, allocations: 4 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3227, allocations: 2.906 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.3228, allocations: 16.23 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.3231, allocations: 295.2 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3232, allocations: 64.03 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.3233, allocations: 24.84 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3233, allocations: 0 / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3235, allocations: 64.56 kB / 0.5196 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3235, allocations: 0 / 0.5196 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000469/0.324, allocations: 175.4 kB / 0.5198 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.324, allocations: 55.39 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3241, allocations: 193 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3242, allocations: 32.45 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.3242, allocations: 100.7 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3242, allocations: 26.44 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3243, allocations: 26.45 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.3243, allocations: 327.7 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.3244, allocations: 21.59 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.3245, allocations: 38.42 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.3246, allocations: 57.44 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3246, allocations: 0 / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001468/0.3247, allocations: 103.3 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3247, allocations: 5.281 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3247, allocations: 0 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3248, allocations: 0 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.3248, allocations: 17.91 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3249, allocations: 7.969 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.3249, allocations: 10.25 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3249, allocations: 2.5 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.343e-05/0.325, allocations: 125.5 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.325, allocations: 9.031 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.325, allocations: 25.91 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3251, allocations: 3.031 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3251, allocations: 3.938 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3251, allocations: 7.938 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.3254, allocations: 394.5 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3254, allocations: 2.812 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.3254, allocations: 9.094 kB / 0.5213 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3254, allocations: 2.781 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3254, allocations: 4.312 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3254, allocations: 2.812 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3255, allocations: 4.078 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.3258, allocations: 0.7905 MB / 0.5221 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.3258, allocations: 87.89 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3258, allocations: 2.906 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.3259, allocations: 6.625 kB / 0.5222 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.326, allocations: 14.78 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.326, allocations: 2.906 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.347e-05/0.3261, allocations: 153.5 kB / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3261, allocations: 0 / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000333/0.3264, allocations: 24.59 kB / 0.5224 GB, free: 31.98 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.0009188/0.3273, allocations: 463.4 kB / 0.5229 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3275, allocations: 65.92 kB / 0.5229 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3275, allocations: 0 / 0.5229 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.3276, allocations: 21.09 kB / 0.5229 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3279, allocations: 33.78 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.3283, allocations: 382.3 kB / 0.5233 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3284, allocations: 0.7064 MB / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.3285, allocations: 17.36 kB / 0.524 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.3285, allocations: 19.39 kB / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3285, allocations: 0 / 0.5241 GB, free: 30.69 MB / 378.7 MB Notification: Performance of Templates: time 0.003508/0.332, allocations: 1.707 MB / 0.5257 GB, free: 30.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches