Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001041/0.001041, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001212/0.001212, allocations: 170.7 kB / 24.82 MB, free: 8.922 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.079/1.079, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.3702/0.3702, allocations: 34.27 MB / 296.1 MB, free: 0.707 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.754e-05, allocations: 2.312 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003916/0.003953, allocations: 1.642 MB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.005167, allocations: 0.5297 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.005301, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.005773, allocations: 75.7 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.00629, allocations: 103.5 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.00676, allocations: 91.69 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.007061, allocations: 83.7 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.007214, allocations: 23.91 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.007327, allocations: 39.91 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.007465, allocations: 43.88 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.007486, allocations: 4 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.007626, allocations: 43.98 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.007699, allocations: 19.91 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.007736, allocations: 15.94 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.007983, allocations: 91.59 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.007989, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.007992, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007997, allocations: 4 kB / 381.3 MB, free: 15.53 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.0005697/0.008566, allocations: 443.8 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.008621, allocations: 8.031 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.008678, allocations: 16.89 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.008861, allocations: 144.4 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.008874, allocations: 4.312 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.008894, allocations: 4.375 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.009036, allocations: 58.94 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.009047, allocations: 192 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.009059, allocations: 8.125 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.009064, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.009098, allocations: 11.97 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.009481, allocations: 264.4 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.009562, allocations: 39.05 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.009582, allocations: 11.69 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.00961, allocations: 0 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.009645, allocations: 41.33 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.009646, allocations: 4 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000642/0.01029, allocations: 157.4 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.01032, allocations: 51.41 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.0105, allocations: 230.5 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.01052, allocations: 25.7 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.0106, allocations: 154.8 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.01065, allocations: 27.75 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.0107, allocations: 27.36 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.01088, allocations: 0.4923 MB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.01091, allocations: 11.98 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.01093, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.01098, allocations: 39.59 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01099, allocations: 7.938 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.0111, allocations: 77.53 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01112, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01113, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01114, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01128, allocations: 15.98 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.01129, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.01132, allocations: 4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.01132, allocations: 0 / 383.7 MB, free: 12.97 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 9.264e-05/0.01142, allocations: 164.5 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.01145, allocations: 15.95 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01162, allocations: 91.36 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01163, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01163, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01163, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.01201, allocations: 345.6 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01202, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.01209, allocations: 19.98 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01209, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.0121, allocations: 8.031 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.0121, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.0121, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01228, allocations: 235.4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.01238, allocations: 11.91 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.0124, allocations: 4 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.01246, allocations: 4 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.01249, allocations: 4.406 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.0125, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.01259, allocations: 159.8 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01259, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.01284, allocations: 27.94 kB / 384.8 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.001277/0.01412, allocations: 434.6 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01426, allocations: 47.58 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01426, allocations: 0 / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.0143, allocations: 27.61 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.01463, allocations: 27.5 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.0151, allocations: 226.6 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.01515, allocations: 71.34 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.0152, allocations: 12.7 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.01528, allocations: 82.2 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01528, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of Templates: time 0.004659/0.01994, allocations: 1.502 MB / 387.2 MB, free: 9.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.3613477740436792]