Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001046/0.001046, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004259/0.004259, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.015/1.015, 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.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.277/0.277, allocations: 34.26 MB / 296 MB, free: 0.6836 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.581e-05, allocations: 6.25 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002123/0.002149, allocations: 1.634 MB / 379.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000736/0.002885, allocations: 0.5219 MB / 380.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.002942, allocations: 0 / 380.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.003142, allocations: 31.78 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003373, allocations: 87.55 kB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.003578, allocations: 87.69 kB / 380.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.003707, allocations: 71.72 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.003798, allocations: 11.98 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.003847, allocations: 31.91 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.003892, allocations: 7.984 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003905, allocations: 4 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.003969, allocations: 35.92 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.004011, allocations: 15.94 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.004038, allocations: 19.91 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.004177, allocations: 71.69 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004179, allocations: 3.938 kB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00418, allocations: 0 / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004184, allocations: 0 / 380.7 MB, free: 308 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003857/0.00457, allocations: 420.1 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.004603, allocations: 8.031 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.004643, allocations: 12.89 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004775, allocations: 144 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.004782, allocations: 384 / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.004801, allocations: 4.375 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.004904, allocations: 58.7 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.004913, allocations: 0 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.004922, allocations: 3.938 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.00493, allocations: 4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.00496, allocations: 7.984 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.005237, allocations: 275.8 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.005405, allocations: 46.98 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.005428, allocations: 15.62 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.005446, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005469, allocations: 37.39 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.00547, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000349/0.005819, allocations: 97.69 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.00585, allocations: 59.39 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.005968, allocations: 212.8 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005979, allocations: 33.69 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.006026, allocations: 146.8 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.006044, allocations: 15.78 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.006079, allocations: 27.36 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.00621, allocations: 0.4961 MB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.006227, allocations: 12.06 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.00624, allocations: 8 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.006274, allocations: 23.69 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.006274, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.395e-05/0.006348, allocations: 65.58 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.006363, allocations: 5.875 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006367, allocations: 0 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006379, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.006423, allocations: 11.98 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.006428, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.006445, allocations: 4 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.00645, allocations: 4 kB / 382.9 MB, free: 13.87 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.012e-05/0.00651, allocations: 156.5 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.006532, allocations: 23.89 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.006636, allocations: 66.08 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006638, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006641, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.006646, allocations: 7.984 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.006892, allocations: 321.4 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006893, allocations: 320 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.006921, allocations: 19.92 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006923, allocations: 4 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006929, allocations: 4 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00693, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006931, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.007023, allocations: 207.8 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.007032, allocations: 11.95 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.007043, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.007073, allocations: 3.984 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.007101, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.007103, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.007168, allocations: 165.6 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007168, allocations: 0 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.007328, allocations: 27.81 kB / 383.9 MB, free: 12.79 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.0008402/0.008168, allocations: 377.8 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.008248, allocations: 31.67 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008249, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.008274, allocations: 19.67 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.008469, allocations: 15.98 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.008752, allocations: 190.2 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.008789, allocations: 63.34 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.008816, allocations: 12 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.008841, allocations: 20.48 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008842, allocations: 0 / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.00251/0.01135, allocations: 1.157 MB / 385.8 MB, free: 11.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.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.194885617122054]