Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0009678/0.0009678, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009666/0.0009666, allocations: 165.4 kB / 24.56 MB, free: 8 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.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.285 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.2733/0.2733, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.622e-05, allocations: 5.547 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003528/0.003564, allocations: 1.657 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00458, allocations: 0.5337 MB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.00465, allocations: 0 / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.005039, allocations: 131.5 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.005412, allocations: 127.5 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.005705, allocations: 95.69 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.005933, allocations: 99.73 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.006044, allocations: 11.98 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.006141, allocations: 55.81 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.006292, allocations: 91.81 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00631, allocations: 0 / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.006411, allocations: 47.92 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.006477, allocations: 27.92 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.006517, allocations: 19.86 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.006734, allocations: 103.6 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.00674, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.006741, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.006747, allocations: 0 / 381.1 MB, free: 15.63 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.0005558/0.007302, allocations: 471.6 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.007349, allocations: 8.031 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.007406, allocations: 16.84 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.007586, allocations: 148.4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.007598, allocations: 4.375 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.007622, allocations: 4.375 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.00777, allocations: 70.88 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.007782, allocations: 192 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.007793, allocations: 4.125 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.007801, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.007845, allocations: 11.98 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.008244, allocations: 311.6 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.008329, allocations: 42.98 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.008356, allocations: 15.62 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.008377, allocations: 4 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.008406, allocations: 33.39 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.855e-06/0.008408, allocations: 7.984 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007085/0.009117, allocations: 173.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.009153, allocations: 51.41 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.009373, allocations: 274.8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.009387, allocations: 29.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.009472, allocations: 170.8 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.009506, allocations: 27.8 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.00955, allocations: 31.31 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.009716, allocations: 0.5078 MB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.009748, allocations: 8 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.009773, allocations: 12 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.009844, allocations: 39.67 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009847, allocations: 4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001441/0.009991, allocations: 77.59 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01001, allocations: 4 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01001, allocations: 0 / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01003, allocations: 0 / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01014, allocations: 23.92 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01015, allocations: 4 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.01018, allocations: 7.938 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.01019, allocations: 4 kB / 383.6 MB, free: 12.86 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 8.534e-05/0.01027, allocations: 156.5 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.01032, allocations: 19.91 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.0105, allocations: 87.44 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01051, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01051, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01052, allocations: 3.938 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.01095, allocations: 401 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01095, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.01102, allocations: 15.98 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01102, allocations: 0 / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01104, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01104, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01104, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.01122, allocations: 247.3 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.01124, allocations: 11.94 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01126, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.01133, allocations: 8 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.01137, allocations: 11.95 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.01138, allocations: 4 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.01151, allocations: 196.1 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01151, allocations: 0 / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.01179, allocations: 16 kB / 384.8 MB, free: 11.61 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.002491/0.01428, allocations: 440 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.01449, allocations: 47.59 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01449, allocations: 0 / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.01455, allocations: 31.67 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.01491, allocations: 27.12 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.01551, allocations: 271.1 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.01557, allocations: 75.33 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.01563, allocations: 17.09 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.01567, allocations: 16.48 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of SimCode: time 2.084e-06/0.01567, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Templates: time 0.004722/0.02039, allocations: 1.501 MB / 387.2 MB, free: 9.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.2256499966606498]