Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001277, allocations: 187 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.435/1.435, 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.0009602/0.0009601, allocations: 98.56 kB / 269.9 MB, free: 8.438 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.3362/0.3362, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009799/0.00098, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1137, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003042/0.1168, allocations: 1.633 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.1175, allocations: 319.5 kB / 489 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.1176, allocations: 0 / 489 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1179, allocations: 23.91 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.118, allocations: 35.91 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1183, allocations: 67.86 kB / 489.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1184, allocations: 71.7 kB / 489.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1186, allocations: 24.44 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.1186, allocations: 19.92 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.1187, allocations: 31.84 kB / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1187, allocations: 0 / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.1188, allocations: 27.98 kB / 489.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1189, allocations: 19.92 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.119, allocations: 19.81 kB / 489.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1191, allocations: 95.64 kB / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1191, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1192, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1192, allocations: 0 / 489.4 MB, free: 10.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005036/0.1197, allocations: 383.2 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1197, allocations: 8.031 kB / 489.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1198, allocations: 8.844 kB / 489.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.12, allocations: 200.1 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.12, allocations: 4.375 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.12, allocations: 8.375 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1202, allocations: 65.53 kB / 490 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1202, allocations: 3.938 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1203, allocations: 4 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1203, allocations: 0 / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1204, allocations: 27.97 kB / 490.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.1208, allocations: 300.7 kB / 490.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.121, allocations: 50.5 kB / 490.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.121, allocations: 16.98 kB / 490.4 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.1211, allocations: 3.984 kB / 490.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1211, allocations: 34.56 kB / 490.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1211, allocations: 4 kB / 490.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000617/0.1217, allocations: 169.3 kB / 490.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1218, allocations: 55.41 kB / 490.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.122, allocations: 157.8 kB / 490.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.122, allocations: 25.7 kB / 490.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.122, allocations: 100.1 kB / 491 MB, free: 8.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1221, allocations: 27.62 kB / 491 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.1221, allocations: 17.72 kB / 491 MB, free: 8.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1223, allocations: 322.8 kB / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.1223, allocations: 19.98 kB / 491.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.1224, allocations: 27.97 kB / 491.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1226, allocations: 57.02 kB / 491.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1226, allocations: 4 kB / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.1228, allocations: 105.5 kB / 491.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1228, allocations: 7.938 kB / 491.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1228, allocations: 0 / 491.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1229, allocations: 0 / 491.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.123, allocations: 23.97 kB / 491.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.123, allocations: 3.938 kB / 491.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.123, allocations: 11.92 kB / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.123, allocations: 4 kB / 491.6 MB, free: 7.727 MB / 378.7 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 (8): * Single equations (assignments): 8 * 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.0001082/0.1232, allocations: 129.8 kB / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1232, allocations: 7.906 kB / 491.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1235, allocations: 114.3 kB / 491.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1235, allocations: 384 / 491.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1235, allocations: 3.938 kB / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1235, allocations: 3.938 kB / 491.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.124, allocations: 390.4 kB / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.124, allocations: 0 / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.1241, allocations: 19.98 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1241, allocations: 3.938 kB / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1241, allocations: 0 / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1242, allocations: 0 / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1242, allocations: 4 kB / 492.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.1248, allocations: 0.7785 MB / 493 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1248, allocations: 81.02 kB / 493.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1249, allocations: 3.984 kB / 493.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.1249, allocations: 4 kB / 493.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.125, allocations: 11.98 kB / 493.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.125, allocations: 0 / 493.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1251, allocations: 122.5 kB / 493.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.313e-06/0.1251, allocations: 0 / 493.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003249/0.1254, allocations: 27.92 kB / 493.3 MB, free: 5.895 MB / 378.7 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 (8): * Single equations (assignments): 8 * 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.0008187/0.1263, allocations: 406.2 kB / 493.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1265, allocations: 67.89 kB / 493.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1265, allocations: 0 / 493.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.1266, allocations: 39.92 kB / 493.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.127, allocations: 16.91 kB / 493.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.1275, allocations: 350.5 kB / 494.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1277, allocations: 0.7004 MB / 494.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.1278, allocations: 8.672 kB / 494.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.1278, allocations: 15.42 kB / 494.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1278, allocations: 0 / 494.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of Templates: time 0.003614/0.1315, allocations: 1.145 MB / 496 MB, free: 3.137 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches