Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.3 kB / 18.44 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.1 kB / 19.38 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.19 MB / 337.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002837/0.3147, allocations: 1.72 MB / 0.5213 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3161, allocations: 0.8692 MB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.3162, allocations: 4.875 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.3165, allocations: 50.73 kB / 0.5222 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3167, allocations: 64.86 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3171, allocations: 105.7 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3173, allocations: 95.58 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.3174, allocations: 11.7 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.3175, allocations: 46.12 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.3176, allocations: 29.45 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3176, allocations: 4.656 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3177, allocations: 50.16 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.3178, allocations: 24.14 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.3178, allocations: 37.8 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.3181, allocations: 134.6 kB / 0.5228 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3181, allocations: 0 / 0.5228 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3181, allocations: 0 / 0.5228 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3182, allocations: 5.438 kB / 0.5228 GB, free: 1.512 MB / 382.1 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.0004671/0.3186, allocations: 442.4 kB / 0.5232 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3187, allocations: 9.719 kB / 0.5232 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3187, allocations: 15.27 kB / 0.5233 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3189, allocations: 218.8 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.319, allocations: 1.438 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.319, allocations: 6.594 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3191, allocations: 59.22 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3192, allocations: 0 / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3192, allocations: 4 kB / 0.5235 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3192, allocations: 1.797 kB / 0.5235 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.3193, allocations: 22.22 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3196, allocations: 297.9 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3197, allocations: 59.59 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3198, allocations: 24.47 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3198, allocations: 1.031 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.32, allocations: 65.66 kB / 0.524 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.32, allocations: 0 / 0.524 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005054/0.3205, allocations: 184.2 kB / 0.5242 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3205, allocations: 58.09 kB / 0.5242 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3207, allocations: 261 kB / 0.5245 GB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3208, allocations: 35.27 kB / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.3209, allocations: 111.7 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3209, allocations: 29.23 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.3209, allocations: 22.48 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3211, allocations: 331.6 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.3211, allocations: 19.27 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.3212, allocations: 41.75 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3213, allocations: 57.5 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3213, allocations: 0 / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.3216, allocations: 111.4 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3216, allocations: 5.719 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3216, allocations: 4.906 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3216, allocations: 1.641 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3217, allocations: 14.59 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3217, allocations: 5.812 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.3218, allocations: 3.172 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3218, allocations: 6.281 kB / 0.5252 GB, free: 15.43 MB / 398.1 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 0.0001038/0.3219, allocations: 141.6 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3219, allocations: 15.75 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.322, allocations: 19.12 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.322, allocations: 0.7031 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.322, allocations: 1.156 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.322, allocations: 97.12 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3221, allocations: 5.5 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.3221, allocations: 3.938 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3222, allocations: 4.281 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000219/0.3224, allocations: 174.7 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002421/0.3226, allocations: 285 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.8e-05/0.3227, allocations: 30.03 kB / 0.526 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.3229, allocations: 204.6 kB / 0.5262 GB, free: 14.66 MB / 398.1 MB Notification: Performance of Backend: time 3.5e-07/0.3229, allocations: 0 / 0.5262 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3243, allocations: 0.4945 MB / 0.5266 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006599/0.325, allocations: 0.7075 MB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.004746/0.3297, allocations: 1.79 MB / 0.5291 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches