Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001705/0.001705, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001968/0.001968, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] 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.2124/0.2124, allocations: 34.26 MB / 295.5 MB, free: 14.56 MB / 286.1 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.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.88 kB / 443.2 MB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 66 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002621/0.3059, allocations: 1.726 MB / 0.499 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3074, allocations: 0.9824 MB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3075, allocations: 0 / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3078, allocations: 90.98 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.3082, allocations: 121.9 kB / 0.5002 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.3084, allocations: 72.52 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3086, allocations: 125.1 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3087, allocations: 17.81 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.3088, allocations: 61.55 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3089, allocations: 58.83 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3089, allocations: 3.25 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.309, allocations: 61.81 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.3091, allocations: 24.81 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.3092, allocations: 36.75 kB / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3094, allocations: 136.2 kB / 0.5007 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3094, allocations: 3.031 kB / 0.5007 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3094, allocations: 0 / 0.5007 GB, free: 27.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3094, allocations: 0 / 0.5007 GB, free: 27.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005676/0.31, allocations: 375.4 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.31, allocations: 9.156 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.3101, allocations: 14.91 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3103, allocations: 159.7 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3103, allocations: 8.312 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.3104, allocations: 7.406 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3105, allocations: 63.81 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3105, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3105, allocations: 0 / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3105, allocations: 3.25 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.3106, allocations: 32.12 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.3109, allocations: 248.8 kB / 0.5016 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3112, allocations: 62.16 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.3113, allocations: 22.08 kB / 0.5017 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3113, allocations: 3.25 kB / 0.5017 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3115, allocations: 73.95 kB / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3115, allocations: 0 / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009168/0.3124, allocations: 249.5 kB / 0.502 GB, free: 26.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3124, allocations: 51.41 kB / 0.502 GB, free: 26.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3127, allocations: 232.4 kB / 0.5023 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3127, allocations: 28.83 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.3128, allocations: 110 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3128, allocations: 34.66 kB / 0.5024 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.3129, allocations: 27.59 kB / 0.5025 GB, free: 26.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.313, allocations: 324.9 kB / 0.5028 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.3131, allocations: 31.39 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.3132, allocations: 51.06 kB / 0.5028 GB, free: 25.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3133, allocations: 90.55 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3133, allocations: 0 / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002192/0.3135, allocations: 126.6 kB / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3136, allocations: 3.281 kB / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3136, allocations: 2.906 kB / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3136, allocations: 0 / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.3137, allocations: 26.36 kB / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3137, allocations: 0 / 0.5031 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.3137, allocations: 14.5 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3137, allocations: 3.25 kB / 0.5031 GB, free: 25.81 MB / 446.1 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 (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 0.0001138/0.3139, allocations: 130.5 kB / 0.5032 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.3139, allocations: 14.06 kB / 0.5032 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.3142, allocations: 162 kB / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3142, allocations: 0 / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3143, allocations: 4 kB / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3143, allocations: 10.5 kB / 0.5034 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.3148, allocations: 399.6 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3148, allocations: 3.422 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.3149, allocations: 15.06 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3149, allocations: 3.938 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3149, allocations: 2.938 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3149, allocations: 6.578 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3149, allocations: 0 / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3152, allocations: 246.3 kB / 0.5041 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3152, allocations: 14.5 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3153, allocations: 11 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3153, allocations: 7.547 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3154, allocations: 9.906 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3154, allocations: 6.844 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3156, allocations: 172.7 kB / 0.5043 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3156, allocations: 0 / 0.5043 GB, free: 24.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.3159, allocations: 32.72 kB / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002229/0.3181, allocations: 0.5529 MB / 0.5048 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3184, allocations: 74.95 kB / 0.5049 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3184, allocations: 4.062 kB / 0.5049 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.3185, allocations: 39.55 kB / 0.505 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3189, allocations: 37.58 kB / 0.505 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.3195, allocations: 276.9 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3196, allocations: 105.5 kB / 0.5054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.3197, allocations: 24.31 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.3197, allocations: 20.72 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3197, allocations: 0 / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of Templates: time 0.005514/0.3252, allocations: 2.069 MB / 0.5074 GB, free: 24.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.913336112047546]