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.001898/0.001898, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.002007/0.002007, allocations: 165.3 kB / 24.28 MB, free: 144 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.552/1.552, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3582/0.3582, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.41e-05/4.578e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004029/0.004075, allocations: 1.619 MB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.005708, allocations: 0.5298 MB / 379.5 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.005768, allocations: 0 / 379.5 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.006139, allocations: 115.6 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.006509, allocations: 119.5 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.006802, allocations: 91.62 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.007009, allocations: 91.8 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.007125, allocations: 11.98 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.007259, allocations: 55.81 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.007414, allocations: 67.86 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.007437, allocations: 8 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.007547, allocations: 39.92 kB / 380.1 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.007636, allocations: 27.86 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.00769, allocations: 19.92 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.007969, allocations: 111.6 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007973, allocations: 0 / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007974, allocations: 0 / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.007981, allocations: 0 / 380.2 MB, free: 40 kB / 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.0008302/0.008811, allocations: 463.4 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.008863, allocations: 8.031 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.008934, allocations: 24.84 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.009221, allocations: 153.2 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.009234, allocations: 384 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.009259, allocations: 4.375 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.009422, allocations: 50.25 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.009438, allocations: 4.172 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.009452, allocations: 4.125 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.009457, allocations: 0 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.009547, allocations: 23.92 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.01007, allocations: 311.7 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.01021, allocations: 54.98 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.01027, allocations: 27.7 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.0103, allocations: 0 / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.01034, allocations: 33.39 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.01034, allocations: 4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009114/0.01125, allocations: 217.2 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.0113, allocations: 51.41 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.01162, allocations: 283 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01165, allocations: 25.7 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.0118, allocations: 166.9 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.01185, allocations: 27.75 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.01191, allocations: 35.36 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003086/0.01222, allocations: 0.504 MB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.0123, allocations: 23.98 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.01236, allocations: 23.92 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.0125, allocations: 59.67 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.0125, allocations: 4 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002135/0.01272, allocations: 97.56 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01273, allocations: 8 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01274, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01275, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.01285, allocations: 12 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.01286, allocations: 7.922 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.01292, allocations: 8 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01293, allocations: 4 kB / 382.9 MB, free: 13.15 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 0.0001369/0.01306, allocations: 168.5 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.01311, allocations: 15.91 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.01338, allocations: 107.1 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01338, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01339, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.01339, allocations: 3.984 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.01401, allocations: 421.4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01401, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.01408, allocations: 19.95 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01408, allocations: 4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01409, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0141, allocations: 4.016 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.0141, allocations: 3.984 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01442, allocations: 259.9 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.01444, allocations: 11.91 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01446, allocations: 7.984 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.01453, allocations: 4 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.01458, allocations: 11.86 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01459, allocations: 11.98 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01476, allocations: 187.2 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01476, allocations: 0 / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01502, allocations: 27.92 kB / 384.1 MB, free: 11.82 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.00339/0.01841, allocations: 492.7 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.01864, allocations: 63.59 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01865, allocations: 0 / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.01874, allocations: 39.67 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01907, allocations: 25.67 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.01968, allocations: 277.3 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.01981, allocations: 97.83 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01986, allocations: 21.02 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01991, allocations: 16.5 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01991, allocations: 0 / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005471/0.02538, allocations: 1.376 MB / 386.5 MB, free: 9.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.939238341990858]