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.001553/0.001552, allocations: 114.5 kB / 17.78 MB, free: 5.262 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.002075/0.002075, allocations: 191.7 kB / 18.72 MB, free: 4.336 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.49/1.49, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2234/0.2234, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3891, 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.002977/0.3921, allocations: 1.725 MB / 0.5207 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3934, allocations: 0.8817 MB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.3935, allocations: 3.938 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.3938, allocations: 77.72 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.3941, allocations: 83.02 kB / 0.5217 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3944, allocations: 114.7 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3946, allocations: 108.5 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3947, allocations: 25.23 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.3948, allocations: 51.86 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3949, allocations: 58 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.395, allocations: 4.562 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3951, allocations: 61.81 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.3951, allocations: 21.38 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.3952, allocations: 37.14 kB / 0.5222 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3954, allocations: 135 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3954, allocations: 8 kB / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3954, allocations: 1.188 kB / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3954, allocations: 0 / 0.5223 GB, free: 1.488 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.0004721/0.3959, allocations: 427.2 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.396, allocations: 9.594 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.396, allocations: 10.11 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3963, allocations: 208.9 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3963, allocations: 5.594 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3963, allocations: 11.25 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3965, allocations: 61.58 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3965, allocations: 1 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3965, allocations: 0.6562 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3965, allocations: 1.156 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.3966, allocations: 22.02 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.397, allocations: 298.5 kB / 0.5233 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3972, allocations: 72.83 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.3973, allocations: 22.12 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3973, allocations: 1.562 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3975, allocations: 66.39 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3975, allocations: 1.5 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007058/0.3982, allocations: 244.1 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3982, allocations: 56.34 kB / 0.5238 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3984, allocations: 218.2 kB / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.3984, allocations: 27.39 kB / 0.524 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3985, allocations: 106.1 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.3986, allocations: 38.98 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3986, allocations: 24.95 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3987, allocations: 330.8 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.3988, allocations: 30.66 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.3989, allocations: 46.03 kB / 0.5245 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3991, allocations: 79.73 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3991, allocations: 3.938 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002143/0.3993, allocations: 132.5 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3993, allocations: 9.812 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3993, allocations: 0 / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3994, allocations: 1.438 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.3995, allocations: 24.22 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3995, allocations: 6.109 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.3995, allocations: 2.234 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3995, allocations: 9.047 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.0001081/0.3997, allocations: 128.9 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3997, allocations: 13.31 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.3997, allocations: 22.97 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3998, allocations: 2.578 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3998, allocations: 3.938 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3998, allocations: 0.5156 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.4004, allocations: 451.9 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4004, allocations: 0 / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.4004, allocations: 16.84 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4004, allocations: 5.922 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4004, allocations: 7.844 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4005, allocations: 1.562 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4005, allocations: 4.453 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.4007, allocations: 232.3 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.4008, allocations: 86.45 kB / 0.5257 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4008, allocations: 10.08 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.4009, allocations: 3.969 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4009, allocations: 6.891 kB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.401, allocations: 6.062 kB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4011, allocations: 159.8 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4011, allocations: 7.875 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4014, allocations: 30.69 kB / 0.5259 GB, free: 14.44 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.001118/0.4025, allocations: 0.5039 MB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.4027, allocations: 82.17 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4028, allocations: 0 / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.4028, allocations: 39.61 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4032, allocations: 39.42 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.0004985/0.4037, allocations: 275.9 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.404, allocations: 0.7195 MB / 0.5276 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.4041, allocations: 23.88 kB / 0.5276 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4041, allocations: 22.52 kB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4042, allocations: 0 / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005313/0.4095, allocations: 1.96 MB / 0.5295 GB, free: 12.48 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