Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001118/0.001118, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2006/0.2006, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4131, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002995/0.4161, allocations: 1.71 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.4175, allocations: 0.8798 MB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.4176, allocations: 1.188 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.4179, allocations: 40.28 kB / 0.5216 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.4181, allocations: 51.23 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.4184, allocations: 110 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4186, allocations: 104.7 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4187, allocations: 7.828 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.4188, allocations: 40.02 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.4189, allocations: 26.64 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.4189, allocations: 7.141 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.419, allocations: 43 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.4191, allocations: 18.64 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.4191, allocations: 36.95 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.4194, allocations: 116.1 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4194, allocations: 0 / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4194, allocations: 0.75 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.4194, allocations: 0 / 0.5221 GB, free: 1.551 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.0004905/0.4199, allocations: 414.9 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.42, allocations: 8.875 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.42, allocations: 10.3 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4202, allocations: 207 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4203, allocations: 1.406 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4203, allocations: 11.11 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4204, allocations: 58.02 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4205, allocations: 1.375 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4205, allocations: 3.938 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4205, allocations: 1.25 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.4206, allocations: 17.67 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.4209, allocations: 290.9 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.4211, allocations: 63.97 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.4211, allocations: 19.19 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4212, allocations: 2.812 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.4213, allocations: 64.92 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4213, allocations: 1.125 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000519/0.4218, allocations: 179.9 kB / 0.5234 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.4219, allocations: 56.88 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.422, allocations: 186.6 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4221, allocations: 31.64 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.4221, allocations: 99.3 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4221, allocations: 25.17 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.4222, allocations: 22.81 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4224, allocations: 334.8 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.4225, allocations: 24.75 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.4226, allocations: 35.47 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.4227, allocations: 61.36 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4227, allocations: 1.125 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.4229, allocations: 100.8 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4229, allocations: 9.531 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4229, allocations: 1.062 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.423, allocations: 1.797 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4231, allocations: 15.03 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4231, allocations: 1.25 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.4231, allocations: 11.06 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4231, allocations: 3.062 kB / 0.5244 GB, free: 15.53 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.0001156/0.4233, allocations: 129.6 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4233, allocations: 12.66 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.4233, allocations: 19.48 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4233, allocations: 1.812 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4234, allocations: 0 / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4234, allocations: 5.891 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.4238, allocations: 393.3 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4238, allocations: 0.8438 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.4239, allocations: 9.078 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4239, allocations: 1.125 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4239, allocations: 14.19 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4239, allocations: 1.406 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4239, allocations: 0.6562 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.4242, allocations: 201.2 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.4242, allocations: 89.38 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4243, allocations: 10.48 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.4243, allocations: 6.469 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4244, allocations: 6.234 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.4244, allocations: 4.375 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.4246, allocations: 146.2 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4246, allocations: 0 / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.4249, allocations: 22.42 kB / 0.5254 GB, free: 14.64 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.001067/0.426, allocations: 484.4 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4261, allocations: 55.86 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4262, allocations: 1.375 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.4262, allocations: 31.72 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4266, allocations: 31.34 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4271, allocations: 218.3 kB / 0.5262 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.4274, allocations: 0.7048 MB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.4274, allocations: 14.17 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.4275, allocations: 20.38 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4275, allocations: 0 / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.004713/0.4322, allocations: 1.709 MB / 0.5286 GB, free: 12.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches