Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.9 kB / 16.27 MB, free: 5.93 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.00146/0.00146, allocations: 190 kB / 17.2 MB, free: 5.574 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.746/1.746, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2518/0.2518, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001742/0.001743, allocations: 73.34 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1359, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002853/0.1388, allocations: 1.604 MB / 442.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005637/0.1394, allocations: 343.5 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.1395, allocations: 0 / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1398, allocations: 51.75 kB / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.14, allocations: 51.81 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1404, allocations: 154.7 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1406, allocations: 71.81 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1407, allocations: 23.94 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.1408, allocations: 27.86 kB / 442.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.1408, allocations: 39.83 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1409, allocations: 4 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.1409, allocations: 31.98 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.141, allocations: 23.91 kB / 442.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.1411, allocations: 23.81 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1412, allocations: 83.72 kB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1412, allocations: 11.98 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1412, allocations: 0 / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1412, allocations: 0 / 443 MB, free: 4.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004164/0.1417, allocations: 395 kB / 443.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1417, allocations: 15.89 kB / 443.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.1418, allocations: 8.844 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1419, allocations: 197.3 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1419, allocations: 4.375 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.142, allocations: 384 / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1421, allocations: 65.8 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1421, allocations: 0 / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1422, allocations: 8 kB / 443.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1422, allocations: 0 / 443.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1423, allocations: 35.91 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1427, allocations: 304.8 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1428, allocations: 46.55 kB / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1429, allocations: 24.94 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1429, allocations: 7.984 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1429, allocations: 42.44 kB / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1429, allocations: 4 kB / 444.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007092/0.1436, allocations: 225.1 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1437, allocations: 55.41 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1438, allocations: 169.8 kB / 444.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.1438, allocations: 29.7 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1438, allocations: 100.1 kB / 444.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1439, allocations: 23.59 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1439, allocations: 21.7 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.144, allocations: 318.8 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1441, allocations: 43.95 kB / 445.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.1442, allocations: 43.97 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1444, allocations: 80.8 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1444, allocations: 0 / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002386/0.1446, allocations: 133.5 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1447, allocations: 4 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1447, allocations: 4 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1447, allocations: 0 / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1448, allocations: 19.98 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1449, allocations: 3.938 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.1449, allocations: 15.89 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1449, allocations: 0 / 445.4 MB, free: 1.723 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 (7): * Single equations (assignments): 7 * 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 7.521e-05/0.145, allocations: 125.8 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.145, allocations: 15.89 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1454, allocations: 134.3 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1454, allocations: 4 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1454, allocations: 7.922 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1454, allocations: 0 / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.1458, allocations: 410.9 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1458, allocations: 0 / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.1459, allocations: 23.92 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1459, allocations: 3.938 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1459, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1459, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1459, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1462, allocations: 219.4 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1462, allocations: 88.95 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1463, allocations: 0 / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.1464, allocations: 11.98 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.1464, allocations: 7.984 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1464, allocations: 4 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.1465, allocations: 132.6 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1465, allocations: 7.875 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1468, allocations: 16 kB / 446.6 MB, free: 436 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 (7): * Single equations (assignments): 7 * 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.0009267/0.1477, allocations: 400.6 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.148, allocations: 87.92 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.148, allocations: 4 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1482, allocations: 55.89 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1486, allocations: 20.48 kB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.149, allocations: 234 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1494, allocations: 0.7012 MB / 448.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.1495, allocations: 19.97 kB / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.1495, allocations: 19.38 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1495, allocations: 4 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004004/0.1535, allocations: 1.283 MB / 449.4 MB, free: 13.66 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches