Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001022/0.001022, 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.001137/0.001137, allocations: 163 kB / 24.99 MB, free: 8.336 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.9907/0.9907, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.343e-05, allocations: 4.281 kB / 376.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002338/0.002361, allocations: 1.773 MB / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004043, allocations: 0.9936 MB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.004132, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.004439, allocations: 39.7 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.004756, allocations: 107.5 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004969, allocations: 75.62 kB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.005137, allocations: 107.7 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.005232, allocations: 11.94 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.005318, allocations: 55.83 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.005395, allocations: 23.91 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005413, allocations: 4 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.005495, allocations: 47.92 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.005548, allocations: 23.84 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.005587, allocations: 15.94 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005769, allocations: 111.6 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005771, allocations: 0 / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005772, allocations: 0 / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005776, allocations: 0 / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004834/0.00626, allocations: 451.8 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.006301, allocations: 8.031 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.006355, allocations: 16.84 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.006551, allocations: 157.1 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.006571, allocations: 384 / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.006596, allocations: 4.375 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.006735, allocations: 66.88 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.006747, allocations: 3.938 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006757, allocations: 4 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.006766, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.006803, allocations: 11.98 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.007098, allocations: 283.8 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007201, allocations: 59.11 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.007229, allocations: 15.62 kB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.007242, allocations: 7.984 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.508e-05/0.007337, allocations: 73.03 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.007338, allocations: 0 / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003845/0.007723, allocations: 153.6 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.007769, allocations: 51.41 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.007906, allocations: 234.3 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.00792, allocations: 29.7 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.007973, allocations: 150.9 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.008001, allocations: 27.78 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.008035, allocations: 31.38 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008148, allocations: 0.4962 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.008174, allocations: 20.12 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.008209, allocations: 35.36 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.008266, allocations: 51.31 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.008267, allocations: 0 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001053/0.008372, allocations: 93.52 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.008383, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008389, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008403, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.008468, allocations: 12 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.008473, allocations: 4.031 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.008504, allocations: 15.92 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.008509, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.483e-05/0.008584, allocations: 168.5 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.0086, allocations: 11.95 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.008754, allocations: 111.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008757, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00876, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008763, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.00904, allocations: 396.9 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.009043, allocations: 4 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.009068, allocations: 11.98 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00907, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.009078, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.009081, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009082, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.009233, allocations: 255.4 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.009245, allocations: 11.91 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.009261, allocations: 0 / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.009304, allocations: 11.98 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.009336, allocations: 12.02 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.009348, allocations: 4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.009419, allocations: 168.1 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009419, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.009596, allocations: 27.94 kB / 383.2 MB, free: 13.46 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009054/0.0105, allocations: 447.6 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01063, allocations: 51.61 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01063, allocations: 0 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.01067, allocations: 39.72 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01091, allocations: 31.97 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.01123, allocations: 221.8 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.01127, allocations: 63.34 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.01131, allocations: 17.27 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.01134, allocations: 20.5 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01134, allocations: 4.062 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003511/0.01485, allocations: 1.866 MB / 385.9 MB, free: 10.85 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.1716479319147766]