Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001253/0.001253, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001422/0.001422, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2672/0.2672, allocations: 32.81 MB / 294.3 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.683e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002085/0.002112, allocations: 1.633 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007493/0.002861, allocations: 0.5492 MB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.002919, allocations: 0 / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.003155, allocations: 23.84 kB / 378.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.003421, allocations: 79.56 kB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.003658, allocations: 115.6 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003793, allocations: 71.72 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.00389, allocations: 15.98 kB / 378.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.003949, allocations: 27.92 kB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.004006, allocations: 23.91 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.004021, allocations: 0 / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.004089, allocations: 27.98 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.004138, allocations: 15.94 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.004168, allocations: 15.97 kB / 378.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004316, allocations: 71.62 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004318, allocations: 3.938 kB / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004319, allocations: 0 / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004322, allocations: 0 / 378.7 MB, free: 1.938 MB / 346.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.0004322/0.004754, allocations: 416.2 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.004801, allocations: 8.031 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.004844, allocations: 12.88 kB / 379.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.005028, allocations: 140.4 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.005037, allocations: 384 / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.005065, allocations: 4.375 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.005193, allocations: 58.89 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.005206, allocations: 192 / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005218, allocations: 4.125 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.005227, allocations: 0 / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.005263, allocations: 15.98 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.005569, allocations: 271.8 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.005733, allocations: 50.97 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.005756, allocations: 11.69 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.005777, allocations: 3.938 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005797, allocations: 33.39 kB / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.005798, allocations: 0 / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000345/0.006143, allocations: 109.5 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.00617, allocations: 51.41 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.00628, allocations: 209 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.006291, allocations: 29.7 kB / 380.1 MB, free: 376 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.00634, allocations: 146.9 kB / 380.2 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.006359, allocations: 11.84 kB / 380.2 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.006389, allocations: 27.36 kB / 380.3 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.006507, allocations: 0.4922 MB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.006527, allocations: 11.98 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.006539, allocations: 4 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.006574, allocations: 27.81 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006575, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.309e-05/0.006648, allocations: 69.59 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.006659, allocations: 8 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006663, allocations: 0 / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.006679, allocations: 0 / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.00672, allocations: 11.98 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.006726, allocations: 4 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.006743, allocations: 0 / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.006748, allocations: 0 / 380.9 MB, free: 15.52 MB / 362.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 6.516e-05/0.006813, allocations: 164.5 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.006832, allocations: 11.95 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.006942, allocations: 66.14 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.006943, allocations: 4 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.006946, allocations: 0 / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006949, allocations: 0 / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.007164, allocations: 329.3 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.007165, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.007194, allocations: 11.98 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007196, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.007202, allocations: 4 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007203, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-07/0.007204, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.0073, allocations: 208 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.00731, allocations: 11.95 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.007322, allocations: 8.062 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.007352, allocations: 4 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.007381, allocations: 7.922 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007385, allocations: 4 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.007446, allocations: 159.1 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007446, allocations: 0 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000157/0.007603, allocations: 15.88 kB / 381.9 MB, free: 14.46 MB / 362.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.0007825/0.008386, allocations: 383.3 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.008475, allocations: 27.67 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008477, allocations: 0 / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.008499, allocations: 23.62 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.008698, allocations: 19.98 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.009005, allocations: 182.5 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.00904, allocations: 67.33 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.009073, allocations: 11.97 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.0091, allocations: 16.5 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009101, allocations: 0 / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Templates: time 0.002815/0.01192, allocations: 1.177 MB / 383.8 MB, free: 12.65 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.2440748680382967]