Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001247/0.001247, allocations: 71.77 kB / 21.69 MB, free: 2.863 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.001636/0.001636, allocations: 160.5 kB / 24.99 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2804/0.2804, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.664e-05/4.969e-05, allocations: 14.19 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003561/0.003611, allocations: 1.645 MB / 377.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.0057, allocations: 1.274 MB / 378.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.005793, allocations: 0 / 378.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.006123, allocations: 35.72 kB / 379 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.006573, allocations: 83.55 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.006953, allocations: 115.6 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.007141, allocations: 67.84 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.007267, allocations: 15.91 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.007348, allocations: 31.92 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.007475, allocations: 31.89 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.007496, allocations: 4 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.007683, allocations: 83.83 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.007742, allocations: 15.92 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.007785, allocations: 19.92 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.008074, allocations: 127.6 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008078, allocations: 0 / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.008081, allocations: 4 kB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.008086, allocations: 0 / 379.5 MB, free: 1.418 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.0006022/0.008688, allocations: 435.9 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.008746, allocations: 12.03 kB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.008821, allocations: 8.891 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.009038, allocations: 132.5 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.009053, allocations: 4.375 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.009079, allocations: 4.375 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.009282, allocations: 100 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.009294, allocations: 192 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.00931, allocations: 16.05 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.009319, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.009364, allocations: 4 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.009808, allocations: 275.8 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01002, allocations: 43.05 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.01004, allocations: 15.62 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01007, allocations: 3.938 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.0101, allocations: 41.47 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.0101, allocations: 3.984 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004234/0.01052, allocations: 105.4 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.01059, allocations: 77.11 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.01074, allocations: 200.1 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01075, allocations: 29.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.0108, allocations: 142.8 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.01082, allocations: 19.84 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.01086, allocations: 31.36 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01098, allocations: 496.1 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.011, allocations: 8.047 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.01104, allocations: 53.08 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.01108, allocations: 23.69 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01108, allocations: 8.031 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.105e-05/0.01116, allocations: 57.56 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01117, allocations: 8 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01118, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01119, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.01124, allocations: 11.98 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01125, allocations: 0 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.01127, allocations: 7.953 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01128, allocations: 0 / 381.9 MB, free: 14.85 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 7.563e-05/0.01135, allocations: 160.6 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01138, allocations: 19.88 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.0115, allocations: 70.03 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01151, allocations: 4 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01151, allocations: 0 / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01151, allocations: 0 / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.01175, allocations: 317.4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01175, allocations: 8.297 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.01179, allocations: 15.94 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01179, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.0118, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0118, allocations: 4 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0118, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.01191, allocations: 211.8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.01192, allocations: 7.938 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.01193, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.01196, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.01199, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.012, allocations: 7.984 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.01206, allocations: 145.4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 3.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.01226, allocations: 39.86 kB / 382.9 MB, free: 13.77 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.001038/0.0133, allocations: 492.2 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01342, allocations: 27.67 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01342, allocations: 0 / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.01345, allocations: 23.67 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01367, allocations: 30.52 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.014, allocations: 169.9 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.01404, allocations: 59.34 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.01409, allocations: 23.95 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.01412, allocations: 16.48 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01412, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.00369/0.01781, allocations: 1.838 MB / 385.5 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.3309931359253824]