Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001734, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 100.9 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3852/0.3852, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1357, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003997/0.1398, allocations: 1.767 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1414, allocations: 0.7845 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1416, allocations: 4 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1419, allocations: 31.89 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1422, allocations: 47.83 kB / 489.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1426, allocations: 75.84 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1429, allocations: 95.69 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.143, allocations: 16.2 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1431, allocations: 39.73 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1432, allocations: 31.84 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1433, allocations: 0 / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1434, allocations: 39.98 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.1435, allocations: 19.92 kB / 490 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.1436, allocations: 35.73 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1438, allocations: 115.8 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1438, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1439, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1439, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 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.0005849/0.1445, allocations: 415 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1445, allocations: 12.03 kB / 490.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1446, allocations: 8.844 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1448, allocations: 212 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1448, allocations: 384 / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1448, allocations: 12.11 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.145, allocations: 61.55 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.145, allocations: 0 / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1451, allocations: 4 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1451, allocations: 0 / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.1451, allocations: 27.92 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1456, allocations: 280.9 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1457, allocations: 54.62 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1458, allocations: 24.84 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1458, allocations: 0 / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1461, allocations: 71.3 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1461, allocations: 0 / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.1467, allocations: 169.6 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1467, allocations: 51.41 kB / 491.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1469, allocations: 194.1 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1469, allocations: 25.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.147, allocations: 100.1 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.147, allocations: 27.69 kB / 491.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.1471, allocations: 21.72 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1472, allocations: 330.8 kB / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.1473, allocations: 15.98 kB / 492.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1474, allocations: 45.64 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1475, allocations: 61.77 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1475, allocations: 0 / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1477, allocations: 101.6 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1477, allocations: 4 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1477, allocations: 0 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1477, allocations: 0 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.1478, allocations: 23.98 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1478, allocations: 4.031 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1479, allocations: 3.938 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1479, allocations: 4 kB / 492.4 MB, free: 6.867 MB / 378.7 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 9.769e-05/0.148, allocations: 129.8 kB / 492.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.148, allocations: 11.91 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.1481, allocations: 12.72 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1481, allocations: 0 / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.1481, allocations: 3.984 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1481, allocations: 7.875 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.1485, allocations: 399.2 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1486, allocations: 0 / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1486, allocations: 8 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1486, allocations: 192 / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1486, allocations: 7.938 kB / 493 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1486, allocations: 3.938 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1486, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.1492, allocations: 0.7871 MB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.1493, allocations: 85 kB / 493.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1493, allocations: 4 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1494, allocations: 0 / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1495, allocations: 11.97 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1495, allocations: 12 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1496, allocations: 140.1 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 0 / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.15, allocations: 31.89 kB / 494.1 MB, free: 5.086 MB / 378.7 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.0009775/0.151, allocations: 472.4 kB / 494.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1512, allocations: 67.89 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1512, allocations: 0 / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.1513, allocations: 27.94 kB / 494.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1516, allocations: 36.42 kB / 494.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.1522, allocations: 368 kB / 495 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1525, allocations: 0.7082 MB / 495.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.1526, allocations: 12.88 kB / 495.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1526, allocations: 19.42 kB / 495.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1526, allocations: 0 / 495.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.004707/0.1573, allocations: 1.668 MB / 497.4 MB, free: 1.711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches