Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001071/0.001071, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001042/0.001042, allocations: 161 kB / 24.56 MB, free: 8 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 1.061/1.061, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 34.27 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.98e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00247/0.0025, allocations: 1.653 MB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.003283, allocations: 0.5376 MB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.003346, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.003631, allocations: 111.6 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.003907, allocations: 119.4 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.004146, allocations: 99.62 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.004324, allocations: 87.84 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.004415, allocations: 8 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.004484, allocations: 55.77 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.004582, allocations: 67.84 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004595, allocations: 8 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.004679, allocations: 51.91 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.004729, allocations: 23.88 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.004759, allocations: 15.92 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004922, allocations: 99.59 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004925, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004927, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.004932, allocations: 0 / 381 MB, free: 15.67 MB / 362.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.0004268/0.005359, allocations: 451.8 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.0054, allocations: 12.03 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.005444, allocations: 16.84 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005588, allocations: 157.2 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.005596, allocations: 384 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005618, allocations: 4.375 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.005731, allocations: 58.94 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.00574, allocations: 4.188 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005749, allocations: 4.125 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005755, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.005788, allocations: 15.94 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.006099, allocations: 299.7 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.006161, allocations: 43.05 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.006183, allocations: 19.62 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.006203, allocations: 8.016 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.006223, allocations: 37.33 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.006224, allocations: 0 / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.006736, allocations: 181.2 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.006763, allocations: 51.41 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.006921, allocations: 267.1 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006932, allocations: 25.7 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.007001, allocations: 162.9 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007027, allocations: 31.73 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.00706, allocations: 23.38 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.007182, allocations: 0.504 MB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.007205, allocations: 7.984 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.007224, allocations: 12 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.007276, allocations: 43.67 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007277, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.226e-05/0.007369, allocations: 73.59 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.007381, allocations: 4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.007387, allocations: 8 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.007404, allocations: 4 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.007485, allocations: 19.98 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.00749, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.007509, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.007515, allocations: 4 kB / 383.5 MB, free: 12.95 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.959e-05/0.007584, allocations: 168.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.007607, allocations: 11.91 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.007752, allocations: 87.44 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007754, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.007758, allocations: 4 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007761, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.008077, allocations: 393 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008079, allocations: 0 / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.008125, allocations: 23.88 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008127, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.008135, allocations: 4 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008137, allocations: 3.984 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008139, allocations: 4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.008266, allocations: 235.5 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.008277, allocations: 15.94 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.00829, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.008329, allocations: 11.98 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.008362, allocations: 7.938 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.008366, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.008453, allocations: 191.1 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008453, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.008623, allocations: 16 kB / 384.6 MB, free: 11.71 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.0009927/0.009616, allocations: 441.5 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.009727, allocations: 43.64 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.00973, allocations: 4 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.009762, allocations: 31.62 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.009994, allocations: 19.92 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.01041, allocations: 253.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01046, allocations: 75.33 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.01049, allocations: 17.09 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.01053, allocations: 20.42 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01053, allocations: 0 / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003409/0.01394, allocations: 1.382 MB / 386.9 MB, free: 9.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.345563773997128]