Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.3 kB / 17.03 MB, free: 6.125 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.001311/0.001311, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.694/1.694, allocations: 205.1 MB / 223.8 MB, free: 12.31 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.2265/0.2265, allocations: 43.51 MB / 314.7 MB, free: 500 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.001787/0.001787, allocations: 65.84 kB / 384.2 MB, free: 56.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1293, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003629/0.133, allocations: 1.55 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005744/0.1336, allocations: 315.5 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.1337, allocations: 0 / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.134, allocations: 35.83 kB / 443.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1341, allocations: 39.8 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1344, allocations: 63.78 kB / 444 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1345, allocations: 55.89 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1346, allocations: 15.92 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1347, allocations: 15.94 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.1347, allocations: 27.8 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1348, allocations: 4 kB / 444.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.1348, allocations: 35.97 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1349, allocations: 11.94 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.1349, allocations: 27.8 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1351, allocations: 75.8 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1351, allocations: 0 / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1351, allocations: 0 / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1351, allocations: 0 / 444.2 MB, free: 3.883 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.0004153/0.1356, allocations: 388.5 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1356, allocations: 15.89 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1356, allocations: 16.72 kB / 444.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1358, allocations: 184.2 kB / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1358, allocations: 384 / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1358, allocations: 4.375 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.136, allocations: 49.8 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.136, allocations: 0 / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.136, allocations: 8 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.136, allocations: 3.938 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.1361, allocations: 23.98 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1364, allocations: 280.8 kB / 445.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1366, allocations: 38.56 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.1367, allocations: 20.94 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1367, allocations: 0 / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1367, allocations: 34.56 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1367, allocations: 0 / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004642/0.1372, allocations: 137.3 kB / 445.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1372, allocations: 51.41 kB / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1373, allocations: 168.9 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1374, allocations: 29.7 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.1374, allocations: 100.1 kB / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.1374, allocations: 19.73 kB / 445.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1374, allocations: 21.66 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.1375, allocations: 322.8 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.1376, allocations: 19.98 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.1376, allocations: 19.98 kB / 446.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1378, allocations: 45.02 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1378, allocations: 4 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.1379, allocations: 77.58 kB / 446.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1379, allocations: 4 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.138, allocations: 4 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.138, allocations: 0 / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.1381, allocations: 15.92 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1381, allocations: 0 / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.1381, allocations: 12 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1381, allocations: 3.938 kB / 446.3 MB, free: 1.582 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 9.847e-05/0.1382, allocations: 129.7 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1383, allocations: 7.906 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1385, allocations: 86.25 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1385, allocations: 0 / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.1385, allocations: 0 / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1385, allocations: 7.984 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1389, allocations: 350.4 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1389, allocations: 0 / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.139, allocations: 15.98 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.139, allocations: 0 / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.139, allocations: 0 / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.139, allocations: 3.938 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.139, allocations: 0 / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1392, allocations: 187.5 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.1392, allocations: 85.05 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1392, allocations: 0 / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.1393, allocations: 11.92 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1394, allocations: 8 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1394, allocations: 0 / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.1394, allocations: 131.2 kB / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1394, allocations: 0 / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1397, allocations: 15.91 kB / 447.3 MB, free: 472 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.00092/0.1406, allocations: 396.7 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1408, allocations: 51.91 kB / 447.8 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1408, allocations: 0 / 447.8 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.1409, allocations: 27.98 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1412, allocations: 23.86 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.1416, allocations: 182.2 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1419, allocations: 0.6924 MB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.1419, allocations: 7.984 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.142, allocations: 15.44 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.142, allocations: 0 / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.003598/0.1456, allocations: 1.104 MB / 449.8 MB, free: 14.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches