Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001665/0.001665, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001233/0.001233, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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.139/1.139, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3159/0.3159, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 3.938 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.977e-05, allocations: 5.547 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003198/0.003227, allocations: 1.661 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.004185, allocations: 0.5413 MB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.00428, allocations: 4 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.004646, allocations: 95.61 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.005012, allocations: 115.5 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.005315, allocations: 91.69 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.005528, allocations: 107.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.005663, allocations: 23.92 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.005756, allocations: 59.88 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005874, allocations: 59.86 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.00589, allocations: 4 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.006002, allocations: 43.92 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.006064, allocations: 35.84 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.006097, allocations: 15.94 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.006299, allocations: 107.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.006301, allocations: 4 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.006302, allocations: 0 / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.006308, allocations: 0 / 381.5 MB, free: 15.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005069/0.006815, allocations: 459.8 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.006864, allocations: 16.03 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.006912, allocations: 20.84 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.00707, allocations: 152.4 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.007079, allocations: 384 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.007106, allocations: 12.31 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.007238, allocations: 70.88 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.00725, allocations: 4.172 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007261, allocations: 8.109 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007267, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.007303, allocations: 19.97 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.007633, allocations: 300.2 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.007702, allocations: 47.03 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.007724, allocations: 23.62 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.007752, allocations: 0 / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.00778, allocations: 41.38 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.007781, allocations: 0 / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005798/0.008361, allocations: 217.4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.008396, allocations: 55.41 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.008568, allocations: 242.7 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.008585, allocations: 29.7 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.008664, allocations: 162.8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.008708, allocations: 47.69 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.008751, allocations: 35.3 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.008915, allocations: 0.5039 MB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.00894, allocations: 15.98 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.00896, allocations: 11.98 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.00902, allocations: 47.61 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009023, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001209/0.009144, allocations: 105.2 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.009158, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.009164, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.009176, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.009262, allocations: 23.98 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.009267, allocations: 3.938 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.009291, allocations: 11.95 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.009298, allocations: 4 kB / 384.1 MB, free: 12.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 (13): * Single equations (assignments): 13 * 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 8.931e-05/0.009387, allocations: 164.5 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.009417, allocations: 23.91 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.009588, allocations: 111.8 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.009591, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.009593, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009597, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.009935, allocations: 397.4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009937, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.009991, allocations: 27.98 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.009995, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.01, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01, allocations: 4.031 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.01001, allocations: 7.938 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01016, allocations: 251.4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.01018, allocations: 19.89 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.0102, allocations: 8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.01023, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.01026, allocations: 15.92 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01027, allocations: 4 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.01035, allocations: 177 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01035, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01053, allocations: 27.94 kB / 385.4 MB, free: 11.23 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 (13): * Single equations (assignments): 13 * 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.0009797/0.01151, allocations: 442.3 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.01163, allocations: 55.66 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01163, allocations: 3.938 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.01169, allocations: 47.58 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01193, allocations: 26.81 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.01232, allocations: 276.8 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.01238, allocations: 71.28 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.01242, allocations: 20.47 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.0125, allocations: 90.19 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0125, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003658/0.01616, allocations: 1.722 MB / 388.1 MB, free: 8.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.3951260377652943]