Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001531/0.001531, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.449/1.449, allocations: 222.9 MB / 243 MB, free: 15.16 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.2153/0.2153, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.12 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003144/0.1325, allocations: 1.583 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.1334, allocations: 399.3 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1334, allocations: 0 / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1338, allocations: 123.6 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.134, allocations: 75.72 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1343, allocations: 95.45 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1345, allocations: 71.88 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1346, allocations: 24.11 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.1347, allocations: 43.83 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1348, allocations: 63.88 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1348, allocations: 0 / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.1349, allocations: 35.98 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.135, allocations: 35.84 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.135, allocations: 31.73 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1352, allocations: 115.6 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1352, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1353, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1353, allocations: 4 kB / 473.4 MB, free: 10.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005402/0.1358, allocations: 418.9 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1359, allocations: 8.031 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1359, allocations: 12.75 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1361, allocations: 200.1 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1361, allocations: 4.375 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1362, allocations: 384 / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1364, allocations: 61.55 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1364, allocations: 8 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1364, allocations: 0 / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1364, allocations: 0 / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.1365, allocations: 27.97 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1369, allocations: 296.7 kB / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1371, allocations: 42.5 kB / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.1371, allocations: 24.94 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1372, allocations: 0 / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1372, allocations: 30.56 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 4.408e-06/0.1372, allocations: 3.984 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008578/0.1381, allocations: 232.9 kB / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1381, allocations: 51.41 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1384, allocations: 243.4 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1384, allocations: 25.7 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.1385, allocations: 108.1 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1386, allocations: 35.61 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1386, allocations: 17.72 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1388, allocations: 326.8 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.1389, allocations: 27.98 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.1389, allocations: 23.92 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1391, allocations: 68.77 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1391, allocations: 0 / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/0.1393, allocations: 101.6 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1394, allocations: 8 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1394, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1394, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1395, allocations: 19.98 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.1396, allocations: 7.875 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.1396, allocations: 4 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1396, allocations: 0 / 475.8 MB, free: 8.34 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 (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.0001423/0.1398, allocations: 129.8 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1398, allocations: 19.81 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.1401, allocations: 119 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1401, allocations: 4 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1401, allocations: 3.938 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1401, allocations: 0 / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.1407, allocations: 403.6 kB / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1407, allocations: 4.031 kB / 476.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.1408, allocations: 27.86 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1408, allocations: 0 / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1408, allocations: 4 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1408, allocations: 7.938 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1408, allocations: 0 / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.141, allocations: 204.3 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1411, allocations: 92.86 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1411, allocations: 3.984 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1412, allocations: 11.94 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1413, allocations: 7.984 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1413, allocations: 0 / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1414, allocations: 183.5 kB / 477 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1414, allocations: 4 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1417, allocations: 23.98 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001126/0.1428, allocations: 462 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1431, allocations: 63.91 kB / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1431, allocations: 0 / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.1432, allocations: 35.97 kB / 477.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1436, allocations: 19.88 kB / 477.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1441, allocations: 278.8 kB / 477.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1444, allocations: 0.7197 MB / 478.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.1444, allocations: 8.969 kB / 478.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1445, allocations: 15.44 kB / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1445, allocations: 0 / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of Templates: time 0.004086/0.1486, allocations: 1.331 MB / 479.9 MB, free: 4.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches