Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.00104/0.00104, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001062/0.001062, allocations: 165.4 kB / 24.56 MB, free: 20 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/1, allocations: 177.1 MB / 205 MB, free: 5.633 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.2451/0.2451, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.473e-05, allocations: 5.406 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002293/0.002318, allocations: 1.638 MB / 377.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003535, allocations: 1.286 MB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.003593, allocations: 7.938 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.003828, allocations: 23.78 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.004148, allocations: 87.55 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.00441, allocations: 107.7 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.004582, allocations: 71.77 kB / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.00471, allocations: 15.86 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.004794, allocations: 39.91 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.004931, allocations: 23.91 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.004953, allocations: 4 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.005106, allocations: 87.88 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.005174, allocations: 19.92 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.005213, allocations: 11.94 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.00568, allocations: 139.5 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005683, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005684, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.00569, allocations: 0 / 379.6 MB, free: 1.07 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.000583/0.006273, allocations: 428 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.006327, allocations: 12.03 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.006392, allocations: 8.891 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.006608, allocations: 136.5 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.006625, allocations: 4.375 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.006655, allocations: 4.375 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.00686, allocations: 99.97 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.006873, allocations: 192 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.006887, allocations: 8.125 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.006897, allocations: 0 / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.006931, allocations: 11.92 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.007333, allocations: 279.9 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.007559, allocations: 43.05 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.007589, allocations: 11.69 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.007617, allocations: 3.938 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.007651, allocations: 37.33 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.007653, allocations: 4 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004493/0.008102, allocations: 105.5 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.008152, allocations: 77.11 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.008302, allocations: 191.9 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.008316, allocations: 37.7 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.008381, allocations: 138.9 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.008409, allocations: 23.77 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.008443, allocations: 23.38 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.008574, allocations: 0.4923 MB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.008595, allocations: 4 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.008636, allocations: 49.06 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.008681, allocations: 31.88 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.008681, allocations: 0 / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.633e-05/0.008768, allocations: 61.56 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.008787, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.008793, allocations: 4.031 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.008813, allocations: 4 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.008864, allocations: 11.98 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.008871, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.008892, allocations: 3.953 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.008899, allocations: 8 kB / 381.9 MB, free: 14.5 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 6.824e-05/0.008967, allocations: 152.6 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.00899, allocations: 15.89 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.009124, allocations: 74.02 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.009127, allocations: 4 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.009132, allocations: 3.938 kB / 382.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009135, allocations: 0 / 382.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.009381, allocations: 321.4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009382, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.009413, allocations: 12.27 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009414, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.009424, allocations: 4 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009426, allocations: 3.938 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009427, allocations: 192 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.00955, allocations: 215.8 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.009559, allocations: 11.95 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.009573, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.009607, allocations: 7.984 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.009644, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.009648, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.686e-05/0.009725, allocations: 149.5 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009725, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000185/0.00991, allocations: 35.88 kB / 382.9 MB, free: 13.43 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.001767/0.01168, allocations: 488.8 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.01178, allocations: 39.61 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01178, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.0118, allocations: 19.67 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01199, allocations: 27.86 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.01229, allocations: 173.8 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01233, allocations: 63.34 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01237, allocations: 15.97 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.0124, allocations: 16.5 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0124, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.003697/0.0161, allocations: 2.02 MB / 385.7 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.0352173601277173]