Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 106.7 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.001416/0.001416, 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.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2205/0.2205, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.44 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003452/0.1375, allocations: 1.752 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1392, allocations: 0.8692 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1393, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1396, allocations: 35.83 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1398, allocations: 47.83 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1401, allocations: 98.58 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1403, allocations: 87.69 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1404, allocations: 16.22 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.1405, allocations: 35.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.1406, allocations: 35.78 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1406, allocations: 0 / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.1407, allocations: 43.98 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1408, allocations: 19.92 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1408, allocations: 31.73 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.141, allocations: 107.9 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.141, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.141, allocations: 0 / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.141, allocations: 0 / 471.7 MB, free: 11.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005242/0.1416, allocations: 415 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1416, allocations: 8.031 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.1417, allocations: 16.84 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.1419, allocations: 208 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1419, allocations: 4.375 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1419, allocations: 4.125 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1421, allocations: 53.67 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1421, allocations: 3.938 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1422, allocations: 4 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1422, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.1422, allocations: 19.92 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1427, allocations: 292.9 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1429, allocations: 62.61 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.1429, allocations: 16.86 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.143, allocations: 3.984 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.1432, allocations: 71.33 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1432, allocations: 4 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005438/0.1437, allocations: 169.2 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1438, allocations: 55.39 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.144, allocations: 182.2 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.144, allocations: 33.7 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1441, allocations: 100.1 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1441, allocations: 31.64 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1442, allocations: 17.72 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1443, allocations: 326.8 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.1444, allocations: 23.98 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1444, allocations: 33.7 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1446, allocations: 69.72 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1446, allocations: 0 / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1448, allocations: 105.8 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1448, allocations: 8 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1448, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1448, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.1449, allocations: 16 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1449, allocations: 7.984 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.145, allocations: 7.938 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.145, allocations: 4 kB / 474 MB, free: 9.082 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 (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.0001013/0.1451, allocations: 121.9 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1451, allocations: 11.89 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.1452, allocations: 16.72 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1452, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.1452, allocations: 3.984 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1452, allocations: 3.938 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1457, allocations: 395.3 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1457, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.1457, allocations: 15.92 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1458, allocations: 0 / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1458, allocations: 3.938 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1458, allocations: 4.188 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1458, allocations: 0 / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.146, allocations: 212.2 kB / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1461, allocations: 85.02 kB / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1461, allocations: 11.92 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1462, allocations: 0 / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1462, allocations: 4 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1463, allocations: 11.92 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1464, allocations: 139.2 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1464, allocations: 4 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1467, allocations: 27.98 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001087/0.1478, allocations: 468 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.148, allocations: 55.92 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.148, allocations: 4.062 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.1481, allocations: 32.12 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1485, allocations: 31.97 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.149, allocations: 245 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1493, allocations: 0.7004 MB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1494, allocations: 20.88 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1494, allocations: 15.44 kB / 476.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1494, allocations: 0 / 476.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Templates: time 0.004534/0.154, allocations: 1.628 MB / 478.3 MB, free: 4.875 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches