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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1334/0.1334, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.214e-05, allocations: 9.344 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002621/0.002663, allocations: 1.599 MB / 349.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.003144, allocations: 315.4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.003199, allocations: 4 kB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.003441, allocations: 27.84 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.003623, allocations: 43.72 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.003822, allocations: 71.77 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003977, allocations: 59.78 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.004122, allocations: 8 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.004178, allocations: 27.92 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.004232, allocations: 11.97 kB / 349.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.004252, allocations: 7.938 kB / 349.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.00432, allocations: 31.98 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.004364, allocations: 4 kB / 349.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.004395, allocations: 15.92 kB / 349.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004544, allocations: 71.73 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004547, allocations: 0 / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004549, allocations: 0 / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004555, allocations: 4 kB / 350 MB, free: 7.125 MB / 282.7 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.0003678/0.004922, allocations: 416 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.004975, allocations: 12.03 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.005019, allocations: 8.891 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005136, allocations: 128.5 kB / 350.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005146, allocations: 4.375 kB / 350.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.005167, allocations: 4.328 kB / 350.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.005281, allocations: 54.95 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005291, allocations: 192 / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.0053, allocations: 4.125 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.005308, allocations: 8 kB / 350.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.005339, allocations: 15.92 kB / 350.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.005596, allocations: 271.8 kB / 350.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.005759, allocations: 39.05 kB / 350.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.005777, allocations: 11.69 kB / 350.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.005796, allocations: 3.938 kB / 350.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.005814, allocations: 45.33 kB / 351 MB, free: 5.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.005816, allocations: 0 / 351 MB, free: 5.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003396/0.006155, allocations: 93.84 kB / 351.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.00618, allocations: 55.39 kB / 351.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.006263, allocations: 209 kB / 351.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.006269, allocations: 29.7 kB / 351.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.006302, allocations: 146.8 kB / 351.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.00632, allocations: 15.84 kB / 351.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.006345, allocations: 19.38 kB / 351.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.006399, allocations: 0.4962 MB / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.006414, allocations: 4 kB / 352 MB, free: 4.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.006426, allocations: 7.984 kB / 352 MB, free: 4.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.006459, allocations: 27.88 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.00646, allocations: 0 / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.626e-05/0.006526, allocations: 69.47 kB / 352.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006539, allocations: 11.98 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006544, allocations: 0 / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.006556, allocations: 3.984 kB / 352.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.006601, allocations: 8 kB / 352.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006606, allocations: 0 / 352.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.006624, allocations: 4 kB / 352.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006629, allocations: 3.984 kB / 352.2 MB, free: 4.723 MB / 282.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 (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 4.718e-05/0.006676, allocations: 160.6 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.006693, allocations: 11.89 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.481e-05/0.006787, allocations: 66.09 kB / 352.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.00679, allocations: 4 kB / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006793, allocations: 0 / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006797, allocations: 3.984 kB / 352.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.006976, allocations: 317.4 kB / 352.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.006979, allocations: 4 kB / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.007008, allocations: 8 kB / 352.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00701, allocations: 3.984 kB / 352.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007017, allocations: 4 kB / 352.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.007019, allocations: 192 / 352.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.007021, allocations: 7.938 kB / 352.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.545e-05/0.007097, allocations: 211.8 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.007103, allocations: 3.953 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007115, allocations: 4 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.007142, allocations: 4 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.007174, allocations: 3.984 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.007177, allocations: 4 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.00722, allocations: 154.4 kB / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00722, allocations: 0 / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.007369, allocations: 11.98 kB / 353.1 MB, free: 3.68 MB / 282.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 (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.0008329/0.008202, allocations: 384.7 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.008305, allocations: 31.61 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008307, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.008326, allocations: 23.67 kB / 353.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.008536, allocations: 21.12 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.008847, allocations: 174.6 kB / 353.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.008876, allocations: 63.34 kB / 353.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.603e-05/0.008902, allocations: 7.938 kB / 353.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.008929, allocations: 12.5 kB / 353.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.00893, allocations: 0 / 353.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of Templates: time 0.00285/0.01178, allocations: 1.23 MB / 355.1 MB, free: 1.789 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.197970193810761]