Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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 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 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 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001052/0.001052, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2487/0.2487, allocations: 43.51 MB / 314.7 MB, free: 496 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 70.92 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.133, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003378/0.1364, allocations: 1.544 MB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005936/0.137, allocations: 319.5 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.1371, allocations: 7.938 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1374, allocations: 67.84 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1377, allocations: 63.73 kB / 444 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.138, allocations: 67.84 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1382, allocations: 67.81 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1384, allocations: 19.88 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.1384, allocations: 23.91 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1385, allocations: 43.89 kB / 444.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1386, allocations: 0 / 444.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.1387, allocations: 35.94 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1388, allocations: 15.98 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.1388, allocations: 35.67 kB / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.139, allocations: 75.78 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.139, allocations: 4 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.139, allocations: 0 / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.139, allocations: 0 / 444.3 MB, free: 3.773 MB / 318.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.0004533/0.1395, allocations: 395 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1395, allocations: 11.89 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1396, allocations: 12.84 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1397, allocations: 198.1 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1398, allocations: 4.375 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1398, allocations: 384 / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1399, allocations: 53.75 kB / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.14, allocations: 0 / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.14, allocations: 4 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.14, allocations: 0 / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.1401, allocations: 15.98 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1404, allocations: 284.8 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1407, allocations: 46.5 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.1407, allocations: 16.94 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1407, allocations: 4 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1408, allocations: 34.56 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1408, allocations: 0 / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004945/0.1413, allocations: 141.2 kB / 445.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1413, allocations: 51.41 kB / 445.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1415, allocations: 194.1 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.1415, allocations: 25.7 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.1415, allocations: 108 kB / 445.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1416, allocations: 19.75 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1416, allocations: 13.72 kB / 445.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.1417, allocations: 326.8 kB / 446.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.1417, allocations: 15.98 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.1418, allocations: 23.92 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1419, allocations: 56.95 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1419, allocations: 0 / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001404/0.142, allocations: 77.58 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1421, allocations: 9.25 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1421, allocations: 0 / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1421, allocations: 0 / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.1422, allocations: 11.98 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1422, allocations: 4 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.1422, allocations: 3.984 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.1422, allocations: 8 kB / 446.5 MB, free: 1.426 MB / 318.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 6.258e-05/0.1423, allocations: 125.7 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1423, allocations: 8.188 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.1425, allocations: 97.89 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1425, allocations: 3.984 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1425, allocations: 3.984 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1425, allocations: 0 / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.1428, allocations: 358.4 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1429, allocations: 0 / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.1429, allocations: 15.98 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1429, allocations: 0 / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1429, allocations: 192 / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1429, allocations: 7.938 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1429, allocations: 0 / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1431, allocations: 183.3 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1431, allocations: 89 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1432, allocations: 0 / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.1432, allocations: 7.938 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1433, allocations: 3.984 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1433, allocations: 8 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.1434, allocations: 143.2 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1434, allocations: 4 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1436, allocations: 15.98 kB / 447.5 MB, free: 276 kB / 318.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.0008578/0.1445, allocations: 403.7 kB / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1447, allocations: 47.95 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1447, allocations: 0 / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.1448, allocations: 27.92 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1451, allocations: 15.94 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1456, allocations: 206 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1459, allocations: 0.6963 MB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.146, allocations: 11.98 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.146, allocations: 11.44 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.146, allocations: 4 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Templates: time 0.003651/0.1497, allocations: 1.105 MB / 450 MB, free: 13.79 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches