Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009915/0.0009915, allocations: 77.88 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.001072/0.001072, allocations: 166.7 kB / 24.82 MB, free: 9.273 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.031/1.031, allocations: 177.1 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.2799/0.2799, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.359e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002482/0.002505, allocations: 1.648 MB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000715/0.00322, allocations: 0.5258 MB / 380.7 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.003279, allocations: 3.938 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.00354, allocations: 103.7 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.003831, allocations: 123.4 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.004055, allocations: 95.69 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.004205, allocations: 91.69 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.004298, allocations: 19.97 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.004369, allocations: 43.89 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.004469, allocations: 67.86 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.004482, allocations: 4 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.004564, allocations: 47.91 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.004611, allocations: 23.92 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.004633, allocations: 11.94 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.004782, allocations: 107.5 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004784, allocations: 0 / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004785, allocations: 0 / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.004788, allocations: 0 / 381.4 MB, free: 15.47 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.0003693/0.005158, allocations: 463.8 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005194, allocations: 8.031 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.005228, allocations: 16.84 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.005349, allocations: 145.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.005357, allocations: 4.312 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.005373, allocations: 8.359 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.005462, allocations: 58.94 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.005469, allocations: 4.188 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.005477, allocations: 8.062 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.005483, allocations: 4 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.005505, allocations: 11.98 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.005736, allocations: 268.4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.005785, allocations: 42.98 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005799, allocations: 11.69 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.005821, allocations: 7.969 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.005841, allocations: 41.33 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.005843, allocations: 4 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003963/0.00624, allocations: 145.5 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.006264, allocations: 59.34 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.006397, allocations: 267 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.006407, allocations: 25.7 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.006467, allocations: 158.8 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.006489, allocations: 31.73 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.00652, allocations: 27.36 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.006657, allocations: 0.5001 MB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.006673, allocations: 8 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.006688, allocations: 11.98 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.006729, allocations: 27.67 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.006732, allocations: 7.938 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.772e-05/0.00682, allocations: 77.53 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006831, allocations: 4 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006837, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006849, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.006919, allocations: 19.98 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006921, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.006941, allocations: 4 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.006947, allocations: 4 kB / 383.9 MB, free: 12.82 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.187e-05/0.007029, allocations: 164.5 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.007058, allocations: 15.91 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.007231, allocations: 95.3 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.007234, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007236, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.007242, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.00765, allocations: 353.5 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.007653, allocations: 4.031 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.007711, allocations: 15.98 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007714, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.007724, allocations: 8 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.007726, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007728, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.007884, allocations: 235.4 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.007899, allocations: 15.89 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.00791, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.007948, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.00798, allocations: 15.97 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.007985, allocations: 4 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.389e-05/0.008069, allocations: 171.1 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008069, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.008238, allocations: 23.98 kB / 385 MB, free: 11.64 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.0009122/0.00915, allocations: 437.6 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.009237, allocations: 39.61 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.009238, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.009265, allocations: 31.59 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.009474, allocations: 29.86 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.009823, allocations: 241.9 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.009868, allocations: 71.33 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.848e-05/0.009907, allocations: 16.7 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.009967, allocations: 82.14 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009967, allocations: 0 / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Templates: time 0.003138/0.01311, allocations: 1.531 MB / 387.4 MB, free: 9.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.1842810208909214]