Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001517/0.001517, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.355/1.355, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2148/0.2148, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.89 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 60.81 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003245/0.1332, allocations: 1.56 MB / 470.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1347, allocations: 1.016 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.1348, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.135, allocations: 23.86 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1353, allocations: 39.78 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1356, allocations: 103.1 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1358, allocations: 51.86 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1359, allocations: 11.98 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.136, allocations: 23.92 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1361, allocations: 27.84 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1362, allocations: 4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1363, allocations: 47.98 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1363, allocations: 19.84 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1364, allocations: 23.81 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1366, allocations: 91.77 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1366, allocations: 0 / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1366, allocations: 0 / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1367, allocations: 0 / 472.3 MB, free: 11.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004712/0.1371, allocations: 371.6 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1372, allocations: 12.03 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.1372, allocations: 4.844 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1375, allocations: 184.2 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1375, allocations: 4.375 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1375, allocations: 4.375 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1377, allocations: 71.45 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1377, allocations: 0 / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1377, allocations: 0 / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1377, allocations: 3.938 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.1378, allocations: 27.97 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.1381, allocations: 272.9 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1383, allocations: 42.5 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.1384, allocations: 20.94 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1384, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1384, allocations: 34.56 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1385, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005121/0.139, allocations: 141.3 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.139, allocations: 77.11 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1392, allocations: 137.8 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1392, allocations: 29.7 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1392, allocations: 92.14 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1393, allocations: 23.73 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.1393, allocations: 13.72 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1394, allocations: 322.8 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1395, allocations: 19.98 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.1396, allocations: 29.7 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1397, allocations: 52.8 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1397, allocations: 0 / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.1399, allocations: 85.83 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1399, allocations: 4 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1399, allocations: 0 / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1399, allocations: 0 / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.14, allocations: 11.98 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.14, allocations: 4 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.1401, allocations: 4 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1401, allocations: 4 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.363e-05/0.1402, allocations: 125.7 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1402, allocations: 7.906 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1404, allocations: 93.59 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1404, allocations: 0 / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.1404, allocations: 4 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1405, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.1408, allocations: 342.4 kB / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1408, allocations: 3.938 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1409, allocations: 15.98 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1409, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1409, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1409, allocations: 3.938 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1409, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1412, allocations: 183.4 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1412, allocations: 85.05 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1412, allocations: 0 / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1413, allocations: 8.125 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.1413, allocations: 3.984 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.1413, allocations: 8 kB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.1414, allocations: 105.9 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1414, allocations: 0 / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1417, allocations: 27.89 kB / 475.3 MB, free: 7.934 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009272/0.1426, allocations: 434.9 kB / 475.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1428, allocations: 51.97 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1429, allocations: 0 / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.1429, allocations: 27.92 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1433, allocations: 19.61 kB / 475.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1436, allocations: 157.4 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1439, allocations: 0.6846 MB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.144, allocations: 11.98 kB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.144, allocations: 15.38 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.144, allocations: 0 / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of Templates: time 0.003861/0.1479, allocations: 1.355 MB / 478.1 MB, free: 5.312 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches