Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.00207/0.00207, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001066/0.001066, allocations: 165 kB / 24.99 MB, free: 8.297 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 0.9477/0.9477, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2866/0.2866, allocations: 34.27 MB / 296.1 MB, free: 0.7734 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.869e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00222/0.002249, allocations: 1.68 MB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.002984, allocations: 0.5376 MB / 380.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.003046, allocations: 7.938 kB / 380.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.003303, allocations: 95.67 kB / 380.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.00355, allocations: 103.5 kB / 380.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.003752, allocations: 99.62 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.003912, allocations: 107.7 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004015, allocations: 23.92 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.004082, allocations: 51.89 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.004173, allocations: 59.86 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.004187, allocations: 4 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.004266, allocations: 51.84 kB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004317, allocations: 31.86 kB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.004352, allocations: 23.91 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004517, allocations: 103.8 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004519, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00452, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004524, allocations: 4 kB / 381 MB, free: 15.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003937/0.004918, allocations: 459.8 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.004951, allocations: 12.03 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.004995, allocations: 20.84 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005133, allocations: 156.4 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.005142, allocations: 384 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005164, allocations: 8.375 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.005279, allocations: 70.88 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.005291, allocations: 8.156 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.005302, allocations: 12.06 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.00531, allocations: 8 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.005354, allocations: 15.98 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.005666, allocations: 319.6 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.005751, allocations: 58.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.005779, allocations: 23.67 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.005798, allocations: 0 / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005819, allocations: 37.39 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.00582, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005846/0.006404, allocations: 253.7 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.006435, allocations: 51.41 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.006587, allocations: 254.7 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.006598, allocations: 25.81 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.006658, allocations: 162.8 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.006697, allocations: 43.58 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.006732, allocations: 31.38 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.006854, allocations: 0.504 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.006884, allocations: 19.98 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.00691, allocations: 15.98 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.006975, allocations: 55.67 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006976, allocations: 0 / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001143/0.007091, allocations: 109.2 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.007102, allocations: 4 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007106, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007118, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.007198, allocations: 27.98 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007204, allocations: 4 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.007225, allocations: 3.984 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.007233, allocations: 7.938 kB / 383.8 MB, free: 13.02 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 (13): * Single equations (assignments): 13 * 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.776e-05/0.007301, allocations: 168.5 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.007326, allocations: 23.86 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.007485, allocations: 119.1 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.007489, allocations: 4 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007492, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007496, allocations: 0 / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.007833, allocations: 436.8 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007834, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.007884, allocations: 27.92 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007886, allocations: 4.031 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.007897, allocations: 11.94 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.007899, allocations: 0 / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.007901, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.008046, allocations: 255.5 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.008057, allocations: 15.84 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.008072, allocations: 7.938 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.008108, allocations: 7.984 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.008141, allocations: 11.98 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.008146, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.008233, allocations: 185.1 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008233, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.008411, allocations: 31.92 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 (13): * Single equations (assignments): 13 * 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.0008639/0.009274, allocations: 433 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.009394, allocations: 75.53 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009396, allocations: 0 / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.009437, allocations: 43.61 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.009651, allocations: 19.98 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.01001, allocations: 280.7 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01005, allocations: 71.33 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.01009, allocations: 20.47 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.01013, allocations: 16.5 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01013, allocations: 0 / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.00319/0.01332, allocations: 1.564 MB / 387.5 MB, free: 9.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.2764098588377237]