Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001203/0.001203, allocations: 194 kB / 18.12 MB, free: 5.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.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 13.89 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.2151/0.2151, allocations: 44.17 MB / 336.1 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.73 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003818/0.1339, allocations: 1.717 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1356, allocations: 0.8497 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1357, allocations: 0 / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.1361, allocations: 55.86 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1365, allocations: 63.81 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1369, allocations: 94.14 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1371, allocations: 91.69 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.1372, allocations: 7.984 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1374, allocations: 35.8 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1375, allocations: 43.83 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1375, allocations: 4 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1377, allocations: 35.92 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.1378, allocations: 19.92 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1378, allocations: 31.8 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1381, allocations: 95.92 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1381, allocations: 0 / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1381, allocations: 0 / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1381, allocations: 0 / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007076/0.1389, allocations: 399.1 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1389, allocations: 8.031 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.139, allocations: 12.84 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1393, allocations: 208.1 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1393, allocations: 384 / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1393, allocations: 12.06 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1395, allocations: 49.67 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1395, allocations: 0 / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1395, allocations: 0 / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1395, allocations: 4 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.1396, allocations: 15.98 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.1398, allocations: 181.5 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.14, allocations: 58.56 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.1401, allocations: 24.78 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1401, allocations: 0 / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1403, allocations: 67.39 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1403, allocations: 4 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000304/0.1407, allocations: 101.5 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1407, allocations: 51.41 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1409, allocations: 186.1 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1409, allocations: 33.7 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.141, allocations: 100.1 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.141, allocations: 7.812 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.141, allocations: 25.72 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1413, allocations: 322.8 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1413, allocations: 19.92 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.1414, allocations: 33.7 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.1415, allocations: 41.66 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1415, allocations: 0 / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002098/0.1417, allocations: 85.55 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1417, allocations: 8 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1417, allocations: 0 / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1418, allocations: 4 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.1419, allocations: 11.94 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1419, allocations: 160 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1419, allocations: 7.984 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1419, allocations: 3.984 kB / 473.7 MB, free: 9.426 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001052/0.142, allocations: 125.8 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.1421, allocations: 7.906 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1422, allocations: 20.3 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1422, allocations: 0 / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1422, allocations: 3.938 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1422, allocations: 0 / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1424, allocations: 193.5 kB / 474 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1424, allocations: 0 / 474 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1424, allocations: 4 kB / 474 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1424, allocations: 320 / 474 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1424, allocations: 3.984 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1425, allocations: 4 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1425, allocations: 4 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1426, allocations: 112.9 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.1427, allocations: 88.95 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1427, allocations: 0 / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.1428, allocations: 8 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.1428, allocations: 3.984 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1428, allocations: 4 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.143, allocations: 139.2 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1432, allocations: 19.98 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009322/0.1441, allocations: 404.5 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1443, allocations: 39.92 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1443, allocations: 0 / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.1444, allocations: 23.98 kB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1447, allocations: 35.3 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.1451, allocations: 211.7 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1454, allocations: 0.7043 MB / 475.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.1455, allocations: 12.55 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.1455, allocations: 19.44 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1455, allocations: 0 / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.005235/0.1508, allocations: 1.418 MB / 477.3 MB, free: 5.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches