Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.7 kB / 18.45 MB, free: 4.484 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.00105/0.00105, allocations: 190 kB / 19.39 MB, free: 3.555 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.265/1.265, allocations: 222.9 MB / 243.1 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.1936/0.1936, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3321, allocations: 60.83 MB / 0.5197 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002791/0.3349, allocations: 1.706 MB / 0.5213 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3362, allocations: 0.8765 MB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3362, allocations: 3.938 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3366, allocations: 75.73 kB / 0.5223 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.3368, allocations: 78.28 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.3371, allocations: 114.3 kB / 0.5224 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3373, allocations: 102.9 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.3374, allocations: 11.34 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3375, allocations: 55.81 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3376, allocations: 53.89 kB / 0.5227 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3376, allocations: 7.344 kB / 0.5227 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.3377, allocations: 43.03 kB / 0.5227 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.3378, allocations: 28.17 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3378, allocations: 33.72 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3381, allocations: 123 kB / 0.5229 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3381, allocations: 0 / 0.5229 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3381, allocations: 1.344 kB / 0.5229 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3381, allocations: 0 / 0.5229 GB, free: 1.547 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.000453/0.3385, allocations: 421.9 kB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3386, allocations: 12.84 kB / 0.5233 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.3386, allocations: 14.28 kB / 0.5233 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3389, allocations: 208.6 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3389, allocations: 1.406 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3389, allocations: 14.38 kB / 0.5235 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3391, allocations: 55 kB / 0.5236 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3391, allocations: 7.875 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3391, allocations: 0.5156 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3391, allocations: 1.062 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.3392, allocations: 22.64 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.3395, allocations: 296.3 kB / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3396, allocations: 59.61 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.3397, allocations: 20.52 kB / 0.524 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3397, allocations: 5.438 kB / 0.524 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.3399, allocations: 69.58 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3399, allocations: 1.125 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004976/0.3404, allocations: 177.2 kB / 0.5242 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3404, allocations: 52.5 kB / 0.5243 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3406, allocations: 210.7 kB / 0.5245 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3406, allocations: 27.14 kB / 0.5245 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.3407, allocations: 108.9 kB / 0.5246 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.3407, allocations: 26.66 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.3408, allocations: 21.16 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3409, allocations: 331 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.341, allocations: 16.83 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.3411, allocations: 36.33 kB / 0.525 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3412, allocations: 73.58 kB / 0.5251 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3412, allocations: 0 / 0.5251 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.3414, allocations: 102 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3414, allocations: 5.5 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3414, allocations: 1.188 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3414, allocations: 1.062 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.3415, allocations: 19.05 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3415, allocations: 1.156 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.3416, allocations: 11.69 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3416, allocations: 2.188 kB / 0.5252 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.0001036/0.3417, allocations: 127.9 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3417, allocations: 15.14 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.3418, allocations: 20.56 kB / 0.5254 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3418, allocations: 0.5625 kB / 0.5254 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3418, allocations: 2 kB / 0.5254 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3418, allocations: 88.41 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3419, allocations: 2.047 kB / 0.5255 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.3419, allocations: 6.859 kB / 0.5255 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.342, allocations: 12.34 kB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002211/0.3422, allocations: 171.4 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002422/0.3424, allocations: 282.6 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.174e-05/0.3425, allocations: 25.94 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3427, allocations: 160.8 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.3427, allocations: 4 kB / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.344, allocations: 491.2 kB / 0.5266 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006172/0.3446, allocations: 0.6855 MB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Templates: time 0.00453/0.3492, allocations: 1.767 MB / 0.5289 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches