Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001222, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001183/0.001183, allocations: 179.9 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.473/1.473, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2397/0.2397, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 64.05 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003531/0.4175, allocations: 1.892 MB / 0.5208 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4194, allocations: 0.9885 MB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.4195, allocations: 2.938 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.4203, allocations: 250.8 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.4208, allocations: 183.9 kB / 0.5222 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.4214, allocations: 187.6 kB / 0.5224 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.4218, allocations: 260.1 kB / 0.5227 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.4219, allocations: 30.69 kB / 0.5227 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.4222, allocations: 132 kB / 0.5228 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.4224, allocations: 181.5 kB / 0.523 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.4225, allocations: 8.312 kB / 0.523 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.4226, allocations: 62.62 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4228, allocations: 71.72 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.4229, allocations: 87.94 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.4232, allocations: 247.5 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4233, allocations: 0 / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4233, allocations: 0 / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4233, allocations: 1.188 kB / 0.5234 GB, free: 1.012 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007472/0.424, allocations: 0.5674 MB / 0.524 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4241, allocations: 9.281 kB / 0.524 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.4242, allocations: 30.81 kB / 0.524 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.4245, allocations: 281.1 kB / 0.5243 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4246, allocations: 8.766 kB / 0.5243 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.4246, allocations: 22.48 kB / 0.5243 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.4249, allocations: 113.4 kB / 0.5244 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4249, allocations: 1.766 kB / 0.5244 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.4249, allocations: 1.594 kB / 0.5244 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4249, allocations: 1.094 kB / 0.5244 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4251, allocations: 47.41 kB / 0.5245 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.4257, allocations: 482.9 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.4262, allocations: 125 kB / 0.5251 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4263, allocations: 46.34 kB / 0.5251 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.4263, allocations: 2.562 kB / 0.5251 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.4266, allocations: 122.7 kB / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4266, allocations: 0 / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00138/0.428, allocations: 0.5033 MB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.428, allocations: 80.7 kB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.4286, allocations: 481.2 kB / 0.5263 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4287, allocations: 32.14 kB / 0.5263 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4289, allocations: 164.3 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.4289, allocations: 69.28 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.429, allocations: 45.23 kB / 0.5266 GB, free: 14.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.4293, allocations: 353.7 kB / 0.5269 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4294, allocations: 57.56 kB / 0.5269 GB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4296, allocations: 95.38 kB / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.4299, allocations: 169.1 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4299, allocations: 0 / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003944/0.4303, allocations: 235.4 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4303, allocations: 9.438 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4303, allocations: 0.8438 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4303, allocations: 3.094 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4305, allocations: 45.16 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4305, allocations: 2.312 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.4306, allocations: 13.31 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.4306, allocations: 14 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001723/0.4308, allocations: 169.6 kB / 0.5277 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.4309, allocations: 42.14 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/0.431, allocations: 41 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.431, allocations: 2.969 kB / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.431, allocations: 0 / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.431, allocations: 5.406 kB / 0.5278 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.432, allocations: 0.7361 MB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.432, allocations: 2.438 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.4321, allocations: 31.05 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4321, allocations: 2.812 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4321, allocations: 4.719 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4321, allocations: 1.938 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4321, allocations: 5.375 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.4326, allocations: 431.4 kB / 0.5289 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.4327, allocations: 100.3 kB / 0.529 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.4327, allocations: 12.8 kB / 0.529 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4329, allocations: 3.969 kB / 0.529 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.433, allocations: 25.05 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.433, allocations: 12.58 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003805/0.4334, allocations: 359.3 kB / 0.5294 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4334, allocations: 0 / 0.5294 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.4338, allocations: 52.45 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001224/0.435, allocations: 0.5159 MB / 0.53 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4354, allocations: 151.4 kB / 0.5301 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4354, allocations: 0 / 0.5301 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4355, allocations: 87.62 kB / 0.5302 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.4361, allocations: 64.47 kB / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.4371, allocations: 0.578 MB / 0.5308 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4375, allocations: 0.7804 MB / 0.5316 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.4376, allocations: 39.39 kB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.4376, allocations: 34.22 kB / 0.5317 GB, free: 10.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4377, allocations: 0 / 0.5317 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Templates: time 0.007296/0.445, allocations: 3.158 MB / 0.5347 GB, free: 9.398 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches