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.001331/0.001331, allocations: 113.4 kB / 18.45 MB, free: 4.602 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.001013/0.001013, allocations: 185.1 kB / 19.38 MB, free: 3.684 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2114/0.2114, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4186, allocations: 60.82 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002897/0.4216, allocations: 1.722 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4229, allocations: 0.8815 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.423, allocations: 4.906 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.4234, allocations: 77.22 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.4237, allocations: 82.86 kB / 0.5224 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.424, allocations: 106.1 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.4242, allocations: 120.5 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4243, allocations: 14.19 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4245, allocations: 51.39 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4246, allocations: 61.59 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.4246, allocations: 3.375 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4247, allocations: 58.77 kB / 0.5228 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.4248, allocations: 24.61 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.4249, allocations: 38.81 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4251, allocations: 141.6 kB / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4251, allocations: 1.906 kB / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4252, allocations: 0 / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4252, allocations: 0 / 0.523 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.0005137/0.4257, allocations: 421.8 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4257, allocations: 10.66 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.4258, allocations: 9.625 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.426, allocations: 213 kB / 0.5236 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4261, allocations: 6.156 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4261, allocations: 7.406 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4263, allocations: 61.44 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4263, allocations: 1.125 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4263, allocations: 4.703 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4263, allocations: 1.125 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.4264, allocations: 26.62 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.4267, allocations: 299 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.427, allocations: 68.55 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.427, allocations: 19.7 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4271, allocations: 2.109 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.4272, allocations: 76.03 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4272, allocations: 0 / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007491/0.428, allocations: 244.3 kB / 0.5244 GB, free: 276 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.428, allocations: 60.47 kB / 0.5244 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4282, allocations: 214.3 kB / 0.5246 GB, free: 64 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4282, allocations: 31.64 kB / 0.5247 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.4283, allocations: 105.6 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.4284, allocations: 31.55 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.4285, allocations: 29.06 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4286, allocations: 327.5 kB / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.4287, allocations: 34.27 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.4288, allocations: 48 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4289, allocations: 80.33 kB / 0.5253 GB, free: 15.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4289, allocations: 0 / 0.5253 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002237/0.4291, allocations: 129.5 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4292, allocations: 9.172 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4292, allocations: 0 / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4292, allocations: 1.781 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.4293, allocations: 28.23 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4293, allocations: 3.938 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.4294, allocations: 7.297 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4294, allocations: 4.438 kB / 0.5255 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.0001057/0.4295, allocations: 130.4 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.4295, allocations: 15.5 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.4296, allocations: 17.92 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4296, allocations: 1.812 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4296, allocations: 4.641 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4296, allocations: 0.7969 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.4301, allocations: 453.8 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.4302, allocations: 5.922 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.4302, allocations: 17.7 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4302, allocations: 1.984 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4302, allocations: 3.312 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4302, allocations: 0.5156 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4303, allocations: 5.312 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4305, allocations: 245.8 kB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.4306, allocations: 84.42 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.4306, allocations: 3.188 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.4307, allocations: 2.812 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4308, allocations: 11.44 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4308, allocations: 9.734 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4309, allocations: 156.4 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.101e-05/0.431, allocations: 0 / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.4312, allocations: 34.02 kB / 0.5266 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.001222/0.4325, allocations: 0.5057 MB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4327, allocations: 81.94 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4327, allocations: 0 / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.4328, allocations: 40.23 kB / 0.5272 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.0003645/0.4332, allocations: 31.47 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.4337, allocations: 301.5 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.434, allocations: 0.7227 MB / 0.5282 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.4341, allocations: 20.28 kB / 0.5283 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4341, allocations: 0 / 0.5283 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.00446/0.4386, allocations: 2.197 MB / 0.5304 GB, free: 12.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/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