Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001136/0.001136, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001137/0.001137, allocations: 165 kB / 24.56 MB, free: 4 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.9464/0.9464, allocations: 177.1 MB / 205 MB, free: 5.621 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.2992/0.2992, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.981e-05, allocations: 10.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002641/0.002671, allocations: 1.665 MB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.003532, allocations: 0.5453 MB / 378.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.003604, allocations: 0 / 378.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.003899, allocations: 107.7 kB / 378.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.004226, allocations: 119.5 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.004524, allocations: 119.5 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004702, allocations: 91.73 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004808, allocations: 15.98 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.004885, allocations: 47.88 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004989, allocations: 71.8 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005006, allocations: 4 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.005296, allocations: 43.92 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.005357, allocations: 31.91 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.005392, allocations: 15.88 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005568, allocations: 99.66 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005571, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005572, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005577, allocations: 0 / 379 MB, free: 1.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004339/0.006011, allocations: 459.7 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.006056, allocations: 12.03 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.006106, allocations: 16.84 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.006253, allocations: 149.2 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.006262, allocations: 384 / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.006289, allocations: 4.375 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.006409, allocations: 62.94 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.006419, allocations: 4.188 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00643, allocations: 4.125 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.00644, allocations: 3.984 kB / 379.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.006475, allocations: 19.92 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.006937, allocations: 299.7 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.00701, allocations: 43.05 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.007033, allocations: 11.62 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.007054, allocations: 7.938 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.007074, allocations: 33.39 kB / 380.1 MB, free: 428 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.007075, allocations: 4 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.007621, allocations: 181.4 kB / 380.3 MB, free: 236 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.007648, allocations: 55.41 kB / 380.3 MB, free: 168 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.007815, allocations: 259.1 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.007827, allocations: 25.7 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.007886, allocations: 162.9 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.00791, allocations: 23.75 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.007947, allocations: 31.36 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.00806, allocations: 0.5079 MB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.008082, allocations: 8 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.008102, allocations: 11.98 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.008152, allocations: 43.78 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008154, allocations: 0 / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.295e-05/0.008247, allocations: 81.58 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008258, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008263, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.008279, allocations: 3.984 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.00836, allocations: 16 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.008367, allocations: 4 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.008388, allocations: 3.984 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008393, allocations: 4 kB / 381.5 MB, free: 14.93 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 (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 6.956e-05/0.008463, allocations: 168.5 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.008485, allocations: 15.91 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.00863, allocations: 91.14 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008632, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.008639, allocations: 3.984 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008642, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.008978, allocations: 385 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.00898, allocations: 4.031 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.009028, allocations: 19.92 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.009031, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.009039, allocations: 4 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.009041, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009042, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.009178, allocations: 239.5 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.009191, allocations: 11.91 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.009205, allocations: 4 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.009237, allocations: 0 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.00927, allocations: 16.34 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.009276, allocations: 11.94 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.009373, allocations: 183.1 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009373, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.009546, allocations: 19.94 kB / 382.7 MB, free: 13.69 MB / 362.7 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.0009284/0.01047, allocations: 443.8 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.01061, allocations: 39.67 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01061, allocations: 0 / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.01064, allocations: 39.59 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.01089, allocations: 23.97 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.01159, allocations: 249.5 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.01164, allocations: 79.27 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.01168, allocations: 21.02 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.01172, allocations: 16.48 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01172, allocations: 4.062 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003515/0.01523, allocations: 1.412 MB / 385 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.1996041419915855]