Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.0009696/0.0009696, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.22/1.22, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1915/0.1915, allocations: 44.2 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3158, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002744/0.3186, allocations: 1.727 MB / 0.5207 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3198, allocations: 0.8771 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.3199, allocations: 1.156 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3202, allocations: 81.08 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3204, allocations: 83.47 kB / 0.5217 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3207, allocations: 105.6 kB / 0.5218 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3209, allocations: 116.8 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.321, allocations: 13.38 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3212, allocations: 55.81 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3213, allocations: 61.44 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3213, allocations: 8.125 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3214, allocations: 54.66 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.3215, allocations: 23.91 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3216, allocations: 39.2 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3218, allocations: 138.5 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3218, allocations: 0 / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3218, allocations: 0 / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3218, allocations: 1.156 kB / 0.5223 GB, free: 1.496 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004621/0.3223, allocations: 422.7 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3223, allocations: 13.5 kB / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.3224, allocations: 10.62 kB / 0.5227 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3226, allocations: 216.6 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3226, allocations: 1.469 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3227, allocations: 8.375 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3228, allocations: 61.67 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3228, allocations: 3.938 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3228, allocations: 6.156 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3228, allocations: 0 / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.3229, allocations: 29.92 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.3232, allocations: 295.4 kB / 0.5233 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3235, allocations: 67.64 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.3235, allocations: 26.17 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3236, allocations: 1.094 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.3237, allocations: 75.61 kB / 0.5235 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3237, allocations: 0 / 0.5235 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006872/0.3244, allocations: 232.8 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3244, allocations: 56.88 kB / 0.5237 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3246, allocations: 214 kB / 0.524 GB, free: 76 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3246, allocations: 30.98 kB / 0.524 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.3247, allocations: 109.3 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.3248, allocations: 39.59 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.3248, allocations: 30 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3249, allocations: 322 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.325, allocations: 34.52 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.3251, allocations: 45.53 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3252, allocations: 78.78 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3252, allocations: 5.312 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001996/0.3254, allocations: 123.9 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3255, allocations: 6.859 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3255, allocations: 0 / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3255, allocations: 1.219 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.3256, allocations: 20.88 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3256, allocations: 9.344 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3256, allocations: 6.281 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3257, allocations: 8.891 kB / 0.5248 GB, free: 15.39 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 (13): * Single equations (assignments): 13 * 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.0001033/0.3258, allocations: 127.5 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3258, allocations: 15.33 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.3258, allocations: 17.56 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3259, allocations: 1.062 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3259, allocations: 5.125 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3259, allocations: 1.078 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3264, allocations: 459.8 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3264, allocations: 0 / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.3265, allocations: 18.7 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3265, allocations: 1.812 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3265, allocations: 2.391 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3265, allocations: 2.297 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/0.3265, allocations: 3.938 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3269, allocations: 240.3 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3269, allocations: 90.22 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.327, allocations: 2.875 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3271, allocations: 4.094 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.3271, allocations: 10.06 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3271, allocations: 6.297 kB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3273, allocations: 159.2 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3273, allocations: 0 / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3275, allocations: 30.59 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001149/0.3287, allocations: 0.5171 MB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3289, allocations: 78.19 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3289, allocations: 0 / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.329, allocations: 39.48 kB / 0.5265 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3294, allocations: 41.59 kB / 0.5266 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.3299, allocations: 272.3 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3302, allocations: 0.7122 MB / 0.5275 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.166e-05/0.3302, allocations: 34.73 kB / 0.5276 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.3303, allocations: 18.47 kB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3303, allocations: 0 / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005042/0.3353, allocations: 2.005 MB / 0.5296 GB, free: 12.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches