Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001323/0.001323, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2267/0.2267, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4116, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003662/0.4153, allocations: 1.71 MB / 0.5206 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.4168, allocations: 0.8726 MB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.417, allocations: 0 / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.4173, allocations: 41.88 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.4177, allocations: 61.08 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.4181, allocations: 108.2 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.4183, allocations: 100.2 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4184, allocations: 8.469 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4186, allocations: 41.94 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.4187, allocations: 38.12 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4187, allocations: 7.531 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4188, allocations: 42.56 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.4189, allocations: 22.41 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.419, allocations: 34.03 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.4192, allocations: 113 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4193, allocations: 0 / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4193, allocations: 1.062 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4193, allocations: 0 / 0.5221 GB, free: 1.543 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.0005362/0.4198, allocations: 417.1 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4199, allocations: 13.28 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.4199, allocations: 19.12 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.4202, allocations: 207.5 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4202, allocations: 5.844 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4203, allocations: 6.375 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4204, allocations: 54.58 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4205, allocations: 0 / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4205, allocations: 2.172 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4205, allocations: 0 / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.4206, allocations: 17.86 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.4209, allocations: 295.8 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4211, allocations: 56.67 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.4212, allocations: 18.98 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4212, allocations: 2.219 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.4214, allocations: 74.03 kB / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.4214, allocations: 0 / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005679/0.4219, allocations: 181.2 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.422, allocations: 56.53 kB / 0.5235 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4222, allocations: 197.9 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4222, allocations: 25.7 kB / 0.5237 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.4223, allocations: 108.1 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.4223, allocations: 25.72 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.4224, allocations: 23.72 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4225, allocations: 326 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.4226, allocations: 25.25 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.4227, allocations: 34.88 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4228, allocations: 66.91 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4228, allocations: 0 / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002184/0.4231, allocations: 104.7 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4231, allocations: 7.406 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4231, allocations: 0 / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4231, allocations: 1.938 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4232, allocations: 19.33 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4232, allocations: 0 / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.4233, allocations: 14.44 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4233, allocations: 8.359 kB / 0.5244 GB, free: 15.5 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.0001063/0.4234, allocations: 123 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.4235, allocations: 13.88 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.4235, allocations: 20.77 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4235, allocations: 0 / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4235, allocations: 1.812 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4235, allocations: 4.594 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.424, allocations: 388.6 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4241, allocations: 0 / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.4241, allocations: 11.48 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4241, allocations: 1.062 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4241, allocations: 5.922 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4242, allocations: 6.469 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4242, allocations: 0 / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4245, allocations: 204.6 kB / 0.5251 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.4245, allocations: 89.41 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.4246, allocations: 7.047 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.4246, allocations: 2.969 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.4247, allocations: 5.219 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.4247, allocations: 8.25 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.4249, allocations: 146.4 kB / 0.5254 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4249, allocations: 0.9062 kB / 0.5254 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.4252, allocations: 26.61 kB / 0.5254 GB, free: 14.62 MB / 398.1 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.001335/0.4265, allocations: 487.5 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.4268, allocations: 52.03 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4268, allocations: 4.062 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4269, allocations: 32.97 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4274, allocations: 30.95 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.428, allocations: 220.7 kB / 0.5262 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4283, allocations: 0.7085 MB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.4284, allocations: 15.48 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.4285, allocations: 16.02 kB / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.184e-06/0.4285, allocations: 0 / 0.5269 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.005793/0.4343, allocations: 1.714 MB / 0.5286 GB, free: 12.94 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches